mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-03 05:12:56 -05:00
When replacing an existing file A with a directory A that has a file A/B in it in the index, 'update-index --replace --add A/B' did not properly remove the file to make room for the new directory. There was a trivial logic error, most likely a cut & paste one, dating back to quite early days of git. Signed-off-by: Junio C Hamano <junkio@cox.net>
25 KiB
25 KiB