Code

[PATCH] Use SHA1 for git-update-cache --refresh
authorBryan Larsen <bryan.larsen@gmail.com>
Fri, 8 Jul 2005 23:52:28 +0000 (16:52 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 9 Jul 2005 00:07:37 +0000 (17:07 -0700)
commit69a97f1d9bb9455b634564e91f33479ffc35c02b
tree55a5f013ed2923a81de18b1b1e264592d4a23935
parentdf6e151636992edc5824af53b62b451737b0d24d
[PATCH] Use SHA1 for git-update-cache --refresh

Change git-update-cache --refresh behaviour to use sha1's rather than
comparing byte by byte.

[JC demangled whitespace from the posted patch himself because he
 liked it so much.  Also adjusted to the index_fd() interface
 slightly done differently from the original one.]

Signed-off-by: Bryan Larsen <bryan.larsen@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
update-cache.c