summaryrefslogtreecommitdiff
path: root/combine-diff.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <Johannes.Schindelin@gmx.de>2006-12-03 20:42:47 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2006-12-04 00:55:12 -0800
commitaca085e577688108a2480b96a2f7077424a74e4d (patch)
treec5ffc1a20ac48ae96c013a9fc27520f1d78b1410 /combine-diff.c
parentgit-svn: avoid fetching files twice in the same revision (diff)
downloadtgif-aca085e577688108a2480b96a2f7077424a74e4d.tar.xz
git-mv: search more precisely for source directory in index
A move of a directory should find the entries in the index by searching for the name _including_ the slash. Otherwise, the directory can be shadowed by a file when it matches the prefix and is lexicographically smaller, e.g. "ab.c" shadows "ab/". Noticed by Sergey Vlasov. [jc: added Sergey's original reproduction recipe as a test case at the end of t7001.] Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'combine-diff.c')
0 files changed, 0 insertions, 0 deletions