<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-rev-parse.txt, branch v2.0.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.0.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.0.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-04-08T19:00:09Z</updated>
<entry>
<title>Merge branch 'ib/rev-parse-parseopt-argh'</title>
<updated>2014-04-08T19:00:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-08T19:00:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ed15e20ba36eaf85453915ef5130a770caa8d3e7'/>
<id>urn:sha1:ed15e20ba36eaf85453915ef5130a770caa8d3e7</id>
<content type='text'>
Finishing touch to a new topic scheduled for 2.0.

* ib/rev-parse-parseopt-argh:
  rev-parse: fix typo in example on manpage
</content>
</entry>
<entry>
<title>rev-parse: fix typo in example on manpage</title>
<updated>2014-04-01T21:07:46Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2014-04-01T19:27:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a2df5211278df9a084d6a1869b5143a6bf120268'/>
<id>urn:sha1:a2df5211278df9a084d6a1869b5143a6bf120268</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>parse-options: multi-word argh should use dash to separate words</title>
<updated>2014-03-24T17:43:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-23T22:58:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e703d7118c68bb5b1f850dae4060609a88500b18'/>
<id>urn:sha1:e703d7118c68bb5b1f850dae4060609a88500b18</id>
<content type='text'>
"When you need to use space, use dash" is a strange way to say that
you must not use a space.  Because it is more common for the command
line descriptions to use dashed-multi-words, you do not even want to
use spaces in these places.  Rephrase the documentation to avoid
this strangeness.

Fix a few existing multi-word argument help strings, i.e.

 - GPG key-ids given to -S/--gpg-sign are "key-id";
 - Refs used for storing notes are "notes-ref"; and
 - Expiry timestamps given to --expire are "expiry-date".

and update the corresponding documentation pages.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rev-parse --parseopt: option argument name hints</title>
<updated>2014-03-24T00:28:03Z</updated>
<author>
<name>Ilya Bobyr</name>
<email>ilya.bobyr@gmail.com</email>
</author>
<published>2014-03-22T09:47:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9bab5b6061f1bc8ca54f8ac145f4f88c644e3bc4'/>
<id>urn:sha1:9bab5b6061f1bc8ca54f8ac145f4f88c644e3bc4</id>
<content type='text'>
Built-in commands can specify names for option arguments when usage text
is generated for a command.  sh based commands should be able to do the
same.

Option argument name hint is any text that comes after [*=?!] after the
argument name up to the first whitespace.

Signed-off-by: Ilya Bobyr &lt;ilya.bobyr@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/ref-excludes'</title>
<updated>2013-12-05T20:59:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-12-05T20:59:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=10167eb251e177349eebf24650d3c0cc26bd0d75'/>
<id>urn:sha1:10167eb251e177349eebf24650d3c0cc26bd0d75</id>
<content type='text'>
People often wished a way to tell "git log --branches" (and "git
log --remotes --not --branches") to exclude some local branches
from the expansion of "--branches" (similarly for "--tags", "--all"
and "--glob=&lt;pattern&gt;").  Now they have one.

* jc/ref-excludes:
  rev-parse: introduce --exclude=&lt;glob&gt; to tame wildcards
  rev-list --exclude: export add/clear-ref-exclusion and ref-excluded API
  rev-list --exclude: tests
  document --exclude option
  revision: introduce --exclude=&lt;glob&gt; to tame wildcards
</content>
</entry>
<entry>
<title>rev-parse: introduce --exclude=&lt;glob&gt; to tame wildcards</title>
<updated>2013-11-01T20:09:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-11-01T19:13:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9dc01bf0631b51dfe497d57942a9085e0808e205'/>
<id>urn:sha1:9dc01bf0631b51dfe497d57942a9085e0808e205</id>
<content type='text'>
Teach "rev-parse" the same "I'm going to glob, but omit the ones
that match these patterns" feature as "rev-list".

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rev-parse --parseopt: add the --stuck-long mode</title>
<updated>2013-10-31T22:47:41Z</updated>
<author>
<name>Nicolas Vigier</name>
<email>boklm@mars-attacks.org</email>
</author>
<published>2013-10-31T11:08:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f8c872127d4c48a6ec02abce34cb059ddeb6402a'/>
<id>urn:sha1:f8c872127d4c48a6ec02abce34cb059ddeb6402a</id>
<content type='text'>
Add the --stuck-long option to output the options in their long form
if available, and with their arguments stuck.

Contrary to the default form (non stuck arguments and short options),
this can be parsed unambiguously when using options with optional
arguments :

 - in the non stuck form, when an option is taking an optional argument
   you cannot know if the next argument is its optional argument, or the
   next option.

 - the long options form allows to differentiate between an empty argument
   '--option=' and an unset argument '--option', which is not possible
   with short options.

Signed-off-by: Nicolas Vigier &lt;boklm@mars-attacks.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'rj/doc-rev-parse'</title>
<updated>2013-08-30T17:08:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-08-30T17:08:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e30db6dbcf28894a830bfd8a94e31a0b8eadc6e2'/>
<id>urn:sha1:e30db6dbcf28894a830bfd8a94e31a0b8eadc6e2</id>
<content type='text'>
* rj/doc-rev-parse:
  rev-parse(1): logically group options
  rev-parse: remove restrictions on some options
</content>
</entry>
<entry>
<title>typofix: documentation</title>
<updated>2013-07-22T23:06:48Z</updated>
<author>
<name>Ondřej Bílka</name>
<email>neleai@seznam.cz</email>
</author>
<published>2013-07-22T21:02:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=17b83d71d52a5eb6a621be22daa624414d3ee514'/>
<id>urn:sha1:17b83d71d52a5eb6a621be22daa624414d3ee514</id>
<content type='text'>
Signed-off-by: Ondřej Bílka &lt;neleai@seznam.cz&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rev-parse(1): logically group options</title>
<updated>2013-07-22T17:43:21Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-07-21T12:49:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=49c639139cdcae2a50d19bfea227a9f24812e84d'/>
<id>urn:sha1:49c639139cdcae2a50d19bfea227a9f24812e84d</id>
<content type='text'>
The options section of the git-rev-parse manual page has grown
organically so that there now does not seem to be much logic behind the
ordering of the options.  It also does not make it clear that certain
options must appear first on the command line.

Address this by reorganising the options into groups with subheadings.
The text of option descriptions does not change.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
