summaryrefslogtreecommitdiff
path: root/git-reset.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-04-07 13:41:13 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-04-10 19:55:51 (GMT)
commit4d50895a390658bf1b9a9385dbc0b9f90b48c803 (patch)
tree78c791b9717cd240d7c900b77ad572c62b637526 /git-reset.sh
parentac7f0f436e4f45d616ca509f5163fddab104516b (diff)
downloadgit-4d50895a390658bf1b9a9385dbc0b9f90b48c803.zip
git-4d50895a390658bf1b9a9385dbc0b9f90b48c803.tar.gz
git-4d50895a390658bf1b9a9385dbc0b9f90b48c803.tar.bz2
merge-recursive: handle D/F conflict case more carefully.
When a path D that originally was blob in the ancestor was modified on our branch while it was removed on the other branch, we keep stages 1 and 2, and leave our version in the working tree. If the other branch created a path D/F, however, that path can cleanly be resolved in the index (after all, the ancestor nor we do not have it and only the other side added), but it cannot be checked out. The issue is the same when the other branch had D and we had renamed it to D/F, or the ancestor had D/F instead of D (so there are four combinations). Do not stop the merge, but leave both D and D/F paths in the index so that the user can clear things up. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-reset.sh')
0 files changed, 0 insertions, 0 deletions