diff options
author | Junio C Hamano <junkio@cox.net> | 2005-09-19 14:49:50 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-20 15:07:53 -0700 |
commit | 1991b223c05d45d2a915842990b2a7c4819dcbcf (patch) | |
tree | 341f43cab4c91c279e8adb995ac77c61fadf7f98 /t/t3010-ls-files-killed.sh | |
parent | Use GECOS field a bit better to produce default human readable name. (diff) | |
download | tgif-1991b223c05d45d2a915842990b2a7c4819dcbcf.tar.xz |
Fast-path 'update-index --refresh' a bit.
If the length in the stat information does not match what is recorded
in the index, there is no point rehashing the contents to see if the
index entry can be refreshed.
We need to be a bit careful. Immediately after read-tree or
checkout-index without -u, ce_size is set to zero and does not match
the length of the blob that is recorded, and we need to actually look
at the contents to see if it has been changed.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t3010-ls-files-killed.sh')
0 files changed, 0 insertions, 0 deletions