<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/diff.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-10T09:51:12Z</updated>
<entry>
<title>find_unique_abbrev() simplification.</title>
<updated>2006-02-10T09:51:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-10T09:51:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=297a1aadbe22c978dca60d6512e5c851ebc6688c'/>
<id>urn:sha1:297a1aadbe22c978dca60d6512e5c851ebc6688c</id>
<content type='text'>
Earlier it did not grok the 0{40} SHA1 very well, but what it
needed to do was to find the shortest 0{N} that is not used as a
valid object name to be consistent with the way names of valid
objects are abbreviated.  This makes some users simpler.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Allow diff and index commands to be interrupted</title>
<updated>2006-02-02T03:47:52Z</updated>
<author>
<name>Petr Baudis</name>
<email>pasky@suse.cz</email>
</author>
<published>2006-01-31T23:40:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6a1f79c1f1a54f97f122a86c71837fb1f1408b67'/>
<id>urn:sha1:6a1f79c1f1a54f97f122a86c71837fb1f1408b67</id>
<content type='text'>
So far, e.g. git-update-index --refresh was basically uninterruptable
by ctrl-c, since it hooked the SIGINT handler, but that handler would
only unlink the lockfile but not actually quit. This makes it propagate
the signal to the default handler.

Note that I expected it to work without resetting the signal handler to
SIG_DFL, but without that it ended in an infinite loop of tgkill()s -
is my glibc violating SUS or what?

Signed-off-by: Petr Baudis &lt;pasky@suse.cz&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diff --abbrev=&lt;n&gt; option fix.</title>
<updated>2006-01-28T08:09:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-27T10:19:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6b1ddbdd6e02719ae2be55dc141a176187e5027e'/>
<id>urn:sha1:6b1ddbdd6e02719ae2be55dc141a176187e5027e</id>
<content type='text'>
Earier specifying an abbreviation shorter than minimum fell back
to full 40 letters, which was nonsense.  Make it to fall back to
the minimum number (currently 4).

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>abbrev cleanup: use symbolic constants</title>
<updated>2006-01-28T08:09:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-25T09:03:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=46a6c2620ba421397eec627b8eb18eb530e694fc'/>
<id>urn:sha1:46a6c2620ba421397eec627b8eb18eb530e694fc</id>
<content type='text'>
The minimum length of abbreviated object name was hardcoded in
different places to be 4, risking inconsistencies in the future.
Also there were three different "default abbreviation
precision".  Use two C preprocessor symbols to clean up this
mess.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>code comments: spell</title>
<updated>2005-12-29T09:32:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-29T09:30:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=82f9d58a397e18e824eb0e16ee141e92fbd8d20b'/>
<id>urn:sha1:82f9d58a397e18e824eb0e16ee141e92fbd8d20b</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Handle symlinks graciously</title>
<updated>2005-12-27T02:33:27Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-12-26T21:31:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=975b31dc6e12fba8f7b067ddbe32230995e05400'/>
<id>urn:sha1:975b31dc6e12fba8f7b067ddbe32230995e05400</id>
<content type='text'>
This patch converts a stat() to an lstat() call, thereby fixing the case
when the date of a symlink was not the same as the one recorded in the
index. The included test case demonstrates this.

This is for the case that the symlink points to a non-existing file. If
the file exists, worse things than just an error message happen.

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>avoid asking ?alloc() for zero bytes.</title>
<updated>2005-12-27T01:23:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-26T20:34:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7e4a2a848377241b8fb4f624d1151bbf2f8d5814'/>
<id>urn:sha1:7e4a2a848377241b8fb4f624d1151bbf2f8d5814</id>
<content type='text'>
Avoid asking for zero bytes when that change simplifies overall
logic.  Later we would change the wrapper to ask for 1 byte on
platforms that return NULL for zero byte request.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diff: --abbrev option</title>
<updated>2005-12-20T02:32:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-14T01:21:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=47dd0d595d04ee5283dfd8a0b4cbd6e6de8ad57f'/>
<id>urn:sha1:47dd0d595d04ee5283dfd8a0b4cbd6e6de8ad57f</id>
<content type='text'>
When I show transcripts to explain how something works, I often
find myself hand-editing the diff-raw output to shorten various
object names in the output.

This adds --abbrev option to the diff family, which shortens
diff-raw output and diff-tree commit id headers.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Move diff.renamelimit out of default configuration.</title>
<updated>2005-11-22T07:00:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-22T06:52:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ce392f4826558357af2b2c7eb6ad876fdb53a91'/>
<id>urn:sha1:9ce392f4826558357af2b2c7eb6ad876fdb53a91</id>
<content type='text'>
Otherwise we would end up linking all the unneeded stuff into git-daemon
only to link with git_default_config.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>rename/copy score parsing updates.</title>
<updated>2005-11-21T22:54:33Z</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2005-11-21T22:17:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1b1480ff6acda6e53325961e20fb13ae6895ee69'/>
<id>urn:sha1:1b1480ff6acda6e53325961e20fb13ae6895ee69</id>
<content type='text'>
Better variant, which handles stuff like "4.5%" and rejects
"192.168.0.1".  Additionally, make sure numbers are unsigned (I'm making
them unsigned long just for the hell of it), to make sure that
artificial wraparound scenarios don't cause harm.

	-hpa

[jc: with this, -M100 changes its meaning back to 10%.  People
wanting to say "pure renames only" should now say -M100% or
-M1.0; sounds a bit like an earthquake, but arguably things are
more consistent this way ;-)]

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