<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/rev-parse.c, branch v1.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2006-02-18T01:33:11Z</updated>
<entry>
<title>git-rev-parse: Fix --short= option parsing</title>
<updated>2006-02-18T01:33:11Z</updated>
<author>
<name>Jonas Fonseca</name>
<email>fonseca@diku.dk</email>
</author>
<published>2006-02-18T01:10:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=44de0da4f908b6600647673e1236b0ca504a9c15'/>
<id>urn:sha1:44de0da4f908b6600647673e1236b0ca504a9c15</id>
<content type='text'>
Signed-off-by: Jonas Fonseca &lt;fonseca@diku.dk&gt;
</content>
</entry>
<entry>
<title>rev-parse lstat() workaround cleanup.</title>
<updated>2006-02-06T05:49:42Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2006-02-06T05:41:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ad0a9333079359cbce8fd2448eb7478786e1150'/>
<id>urn:sha1:9ad0a9333079359cbce8fd2448eb7478786e1150</id>
<content type='text'>
Earlier we had a workaround to avoid misspelled revision name to
be taken as a filename when "--no-revs --no-flags" are in
effect.  This cleans up the logic.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix git-rev-parse over-eager errors</title>
<updated>2006-02-05T21:44:59Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2006-02-05T19:58:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9523a4c2fcd7bbccbbddb998eef891ae83cf91a3'/>
<id>urn:sha1:9523a4c2fcd7bbccbbddb998eef891ae83cf91a3</id>
<content type='text'>
Using "--verify" together with "--no-flags" makes perfect sense, but
git-rev-parse would complain about it when it saw a flag, even though it
would never actually use/output that flag.

This fixes it.

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>rev-list: allow -&lt;n&gt; as shorthand for --max-count=&lt;n&gt;</title>
<updated>2006-02-01T00:23:03Z</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2006-01-30T00:28:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8233340ce6eb700eb2cd9c0fef4d1705997c499b'/>
<id>urn:sha1:8233340ce6eb700eb2cd9c0fef4d1705997c499b</id>
<content type='text'>
This builds on top of the previous one.

Traditionally, head(1) and tail(1) allow their line limits to be
parsed this way.

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>rev-list: allow -n&lt;n&gt; as shorthand for --max-count=&lt;n&gt;</title>
<updated>2006-02-01T00:23:03Z</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2006-01-30T00:26:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3af06987eb3c376e2f1cc6dfa9c9c510b9e228cf'/>
<id>urn:sha1:3af06987eb3c376e2f1cc6dfa9c9c510b9e228cf</id>
<content type='text'>
Both -n&lt;n&gt; and -n &lt;n&gt; are supported.  POSIX versions of head(1) and
tail(1) allow their line limits to be parsed this way.  I find
--max-count to be a commonly used option, and also similar in spirit to
head/tail, so I decided to make life easier on my worn out (and lazy :)
fingers with this patch.

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge lt/revlist,jc/diff,jc/revparse,jc/abbrev</title>
<updated>2006-01-28T08:16:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-28T08:16:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=addafaf92eeb86033da91323d0d3ad7a496dae83'/>
<id>urn:sha1:addafaf92eeb86033da91323d0d3ad7a496dae83</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rev-parse: make "whatchanged -- git-fetch-script" work again.</title>
<updated>2006-01-28T08:09:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-27T01:24:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b33aba518456bee97bde1fef4fe17ab6bf401bbe'/>
<id>urn:sha1:b33aba518456bee97bde1fef4fe17ab6bf401bbe</id>
<content type='text'>
The latest update to avoid misspelled revs interfered when we
were not interested in parsing non flags or arguments not meant
for rev-list.  This makes these two forms work again:

	git whatchanged -- git-fetch-script

We could enable "!def" in the part this change touches to make
the above work without '--', but then it would cause misspelled
v2.6.14..v2.6.16 to be given to diff-tree and defeats the whole
point of the previous fix.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Rename rev-parse --abbrev to --short.</title>
<updated>2006-01-28T08:09:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-27T01:02:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=62a604ba1c8f1ebcb135039ab04c9ca6c96b67f4'/>
<id>urn:sha1:62a604ba1c8f1ebcb135039ab04c9ca6c96b67f4</id>
<content type='text'>
The usage of rev-parse to serve as a flag/option parser
for git-whatchanged and other commands have serious limitation
that the flags cannot be something that is supported by
rev-parse itself, and it cannot worked around easily.  Since
this is rarely used "poor-man's describe", rename the option for
now as an easier workaround.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>rev-parse --abbrev: do not try abbrev shorter than minimum.</title>
<updated>2006-01-28T08:09:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-26T08:48:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1dc4fb84b5914621cf59b6b508ad7c9c86c61fa4'/>
<id>urn:sha1:1dc4fb84b5914621cf59b6b508ad7c9c86c61fa4</id>
<content type='text'>
We do not allow abbreviation shorter than 4 letters in other
parts of the system so do not attempt to generate such.

Noticed by Uwe Zeisberger.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>rev-parse: --abbrev option.</title>
<updated>2006-01-28T08:09:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-25T09:35:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d50125085a6c4775a77d45a6d294d723f6de8869'/>
<id>urn:sha1:d50125085a6c4775a77d45a6d294d723f6de8869</id>
<content type='text'>
The new option behaves just like --verify, but outputs an
abbreviated object name that is unique within the repository.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
