diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-07-28 22:27:39 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-28 23:02:12 -0700 |
commit | 65c35b2256ecbfaebcf04559fe6070807646afff (patch) | |
tree | 3df48808efc80074faead617362ca9680302d433 /receive-pack.c | |
parent | Documentation: clarify what is shown in "git-ls-files -s" output (diff) | |
download | tgif-65c35b2256ecbfaebcf04559fe6070807646afff.tar.xz |
t7001: fix "git mv" test
The test assumed that we can keep the cached stat information fresh across
rename(2); many filesystems however update st_ctime (and POSIX allows them
to do so), and that assumption does not hold.
We can explicitly refresh the index for the purpose of these tests. The
only thing we are interested in is the staged contents and the mode bits
are preserved across "git mv".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'receive-pack.c')
0 files changed, 0 insertions, 0 deletions