summaryrefslogtreecommitdiff
path: root/receive-pack.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-07-28 22:27:39 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-07-28 23:02:12 -0700
commit65c35b2256ecbfaebcf04559fe6070807646afff (patch)
tree3df48808efc80074faead617362ca9680302d433 /receive-pack.c
parentDocumentation: clarify what is shown in "git-ls-files -s" output (diff)
downloadtgif-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