summaryrefslogtreecommitdiff
path: root/ssh-upload.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2007-08-15 14:12:14 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-08-15 14:21:23 -0700
commita4882c27f8b3793d94b03fd503a0c67ad9772cf6 (patch)
tree6a782d1f7d9a99d666c2120eff56949dfb7779d3 /ssh-upload.c
parentapply: remove directory that becomes empty by renaming the last file away (diff)
downloadtgif-a4882c27f8b3793d94b03fd503a0c67ad9772cf6.tar.xz
Fix "git add -u" data corruption.
This applies to 'maint' to fix a rather serious data corruption issue. When "git add -u" affects a subdirectory in such a way that the only changes to its contents are path removals, the next tree object written out of that index was bogus, as the remove codepath forgot to invalidate the cache-tree entry. Reported by Salikh Zakirov. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ssh-upload.c')
0 files changed, 0 insertions, 0 deletions