summaryrefslogtreecommitdiff
path: root/builtin-ls-remote.c
diff options
context:
space:
mode:
authorClemens Buchacher <drizzd@aon.at>2008-12-10 21:12:59 +0100
committerJunio C Hamano <gitster@pobox.com>2008-12-15 02:39:57 -0800
commit7bb1fcc6fcc5a2d0164f243fd10f346eb0822ddf (patch)
tree12f184e9e7e088f38418941c6469ad57b90e01ee /builtin-ls-remote.c
parent544ddb045a4bd49da9ffc1d9da80bdc0d71b2518 (diff)
downloadgit-7bb1fcc6fcc5a2d0164f243fd10f346eb0822ddf.tar.gz
modify/delete conflict resolution overwrites untracked file
If a file was removed in HEAD, but modified in MERGE_HEAD, recursive merge will result in a "CONFLICT (delete/modify)". If the (now untracked) file already exists and was not added to the index, it is overwritten with the conflict resolution contents. In similar situations (cf. test 2), the merge would abort with "error: Untracked working tree 'file' would be overwritten by merge." The same should happen in this case. Signed-off-by: Clemens Buchacher <drizzd@aon.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-ls-remote.c')
0 files changed, 0 insertions, 0 deletions