<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/parse-options.c, branch v1.5.6.4</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.6.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.6.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2008-06-23T01:14:37Z</updated>
<entry>
<title>parse-options.c: fix documentation syntax of optional arguments</title>
<updated>2008-06-23T01:14:37Z</updated>
<author>
<name>Michele Ballabio</name>
<email>barra_cuda@katamail.com</email>
</author>
<published>2008-06-22T14:39:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=6422f633216475939f9a6f317e41a164737cbb02'/>
<id>urn:sha1:6422f633216475939f9a6f317e41a164737cbb02</id>
<content type='text'>
When an argument for an option is optional, short options don't need a
space between the option and the argument, and long options need a "=".
Otherwise, arguments are misinterpreted.

Signed-off-by: Michele Ballabio &lt;barra_cuda@katamail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.5.4' into maint</title>
<updated>2008-04-10T07:29:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-04-10T07:29:33Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=179c94b24ae87e28328f9b311489417b66bd62c9'/>
<id>urn:sha1:179c94b24ae87e28328f9b311489417b66bd62c9</id>
<content type='text'>
* maint-1.5.4:
  core-tutorial.txt: Fix showing the current behaviour.
  git-archive: ignore prefix when checking file attribute
  Fix documentation syntax of optional arguments in short options.
</content>
</entry>
<entry>
<title>Fix documentation syntax of optional arguments in short options.</title>
<updated>2008-04-10T07:20:31Z</updated>
<author>
<name>Carlos Rica</name>
<email>jasampler@gmail.com</email>
</author>
<published>2008-04-09T11:07:14Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=3f36cbbaaf87b67abafa851e2808735553f92b06'/>
<id>urn:sha1:3f36cbbaaf87b67abafa851e2808735553f92b06</id>
<content type='text'>
When an argument for an option is optional, like in -n from git-tag,
puting a space between the option and the argument is interpreted
as a missing argument for the option plus an isolated argument.
Documentation now reflects the need to write the parameter following
the option -n, as in "git tag -nARG", for instance.

Signed-off-by: Carlos Rica &lt;jasampler@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>parse-options.c: introduce OPT_DATE</title>
<updated>2008-03-27T20:55:15Z</updated>
<author>
<name>Michele Ballabio</name>
<email>barra_cuda@katamail.com</email>
</author>
<published>2008-03-24T14:02:21Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=1f4a711a05e00db81da552dd990f6ddff4ffb63e'/>
<id>urn:sha1:1f4a711a05e00db81da552dd990f6ddff4ffb63e</id>
<content type='text'>
There are quite a few places that will need to call approxidate(),
when they'll adopt the parse-options system, so this patch adds the
function parse_opt_approxidate_cb(), used by OPT_DATE.

Signed-off-by: Michele Ballabio &lt;barra_cuda@katamail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/remote'</title>
<updated>2008-03-12T05:33:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-03-12T05:33:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=ae90e16a3a7586bc25b7c7de50e4c3ba4806b3b9'/>
<id>urn:sha1:ae90e16a3a7586bc25b7c7de50e4c3ba4806b3b9</id>
<content type='text'>
* js/remote:
  "remote update": print remote name being fetched from
  builtin remote rm: remove symbolic refs, too
  remote: fix "update [group...]"
  remote show: Clean up connection correctly if object fetch wasn't done
  builtin-remote: prune remotes correctly that were added with --mirror
  Make git-remote a builtin
  Test "git remote show" and "git remote prune"
  parseopt: add flag to stop on first non option
  path-list: add functions to work with unsorted lists

Conflicts:

	parse-options.c
</content>
</entry>
<entry>
<title>parse-options: new option type to treat an option-like parameter as an argument.</title>
<updated>2008-03-02T22:07:47Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2008-03-02T10:35:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=580d5bffdea56dfae1e745dbda94f326bb161274'/>
<id>urn:sha1:580d5bffdea56dfae1e745dbda94f326bb161274</id>
<content type='text'>
This is meant to be used to keep --not and --all during revision parsing.

Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>parseopt: add flag to stop on first non option</title>
<updated>2008-03-01T09:51:44Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2008-02-29T01:45:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=a0ec9d25d9f1c1469ec375169557a1c17d486993'/>
<id>urn:sha1:a0ec9d25d9f1c1469ec375169557a1c17d486993</id>
<content type='text'>
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>parse-options: catch likely typo in presense of aggregated options.</title>
<updated>2008-01-26T18:53:31Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2008-01-26T11:26:57Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=3a9f0f41db87e197708f84aeb2487bc983f99c9c'/>
<id>urn:sha1:3a9f0f41db87e197708f84aeb2487bc983f99c9c</id>
<content type='text'>
If options are aggregated, and that the whole token is an exact
prefix of a long option that is longer than 2 letters, reject
it.  This is to prevent a common typo:

	$ git commit -amend

to get interpreted as "commit all with message 'end'".

The typo check isn't performed if there is no aggregation,
because the stuck form is the recommended one.  If we have `-o`
being a valid short option that takes an argument, and --option
a long one, then we _MUST_ accept -option as "'o' option with
argument 'ption'", which is our official recommended form.

Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Force the sticked form for options with optional arguments.</title>
<updated>2007-12-22T18:26:08Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2007-12-21T10:41:41Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=c43a24834a9babd3ddd9c27ccc81174c2cb36859'/>
<id>urn:sha1:c43a24834a9babd3ddd9c27ccc81174c2cb36859</id>
<content type='text'>
This forbids "git tag -n &lt;number&gt; -l" we allowed earlier, so
adjust t7004 while at it.

Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
</content>
</entry>
<entry>
<title>parse-options: Allow to hide options from the default usage.</title>
<updated>2007-11-23T06:11:28Z</updated>
<author>
<name>Pierre Habouzit</name>
<email>madcoder@debian.org</email>
</author>
<published>2007-11-19T09:21:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=dd3bf0f4a5bab17011e94bfeb808ee64dd2ad040'/>
<id>urn:sha1:dd3bf0f4a5bab17011e94bfeb808ee64dd2ad040</id>
<content type='text'>
This is useful for backward-compatibility aliases, or very advanced command
line switches introduced for internal git usages and have no real use for a
user.

parse-options still shows them if the user asks for --help-all.

Signed-off-by: Pierre Habouzit &lt;madcoder@debian.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
