author | Junio C Hamano <junkio@cox.net> | |
Thu, 5 May 2005 22:29:06 +0000 (15:29 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 5 May 2005 22:29:06 +0000 (15:29 -0700) | ||
commit | c4b83e618f1df7d8ecc9392fa40e5bebccbe6b5a | |
tree | dfb527d0821f06e8fb1c08eaedd150a4530ab8e7 | tree | snapshot |
parent | ed4eeaf203d0f293bd5ffc2a0ad8711f052db1f3 | commit | diff |
Do not write out new index if nothing has changed.
The git-update-cache command, especially with --refresh, may not change
anything. In such a case, writing 1.6MB of the same thing is a waste.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The git-update-cache command, especially with --refresh, may not change
anything. In such a case, writing 1.6MB of the same thing is a waste.
Signed-off-by: Junio C Hamano <junkio@cox.net>
update-cache.c | diff | blob | history |