author | Bryan Larsen <bryan.larsen@gmail.com> | |
Fri, 8 Jul 2005 23:52:28 +0000 (16:52 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Sat, 9 Jul 2005 00:07:37 +0000 (17:07 -0700) | ||
commit | 69a97f1d9bb9455b634564e91f33479ffc35c02b | |
tree | 55a5f013ed2923a81de18b1b1e264592d4a23935 | tree | snapshot |
parent | df6e151636992edc5824af53b62b451737b0d24d | commit | diff |
[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>
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 | diff | blob | history |