summaryrefslogtreecommitdiff
path: root/run-command.c
diff options
context:
space:
mode:
authorLibravatar Eyvind Bernhardsen <eyvind.bernhardsen@gmail.com>2010-07-02 21:20:48 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-07-02 15:44:34 -0700
commit331a1838b26c3032bec27b66307a9de9b3b11509 (patch)
tree655b6072cac0c93993cacf5ed1a579aaed08f026 /run-command.c
parentAvoid conflicts when merging branches with mixed normalization (diff)
downloadtgif-331a1838b26c3032bec27b66307a9de9b3b11509.tar.xz
Try normalizing files to avoid delete/modify conflicts when merging
If a file is modified due to normalization on one branch, and deleted on another, a merge of the two branches will result in a delete/modify conflict for that file even if it is otherwise unchanged. Try to avoid the conflict by normalizing and comparing the "base" file and the modified file when their sha1s differ. If they compare equal, the file is considered unmodified and is deleted. Signed-off-by: Eyvind Bernhardsen <eyvind.bernhardsen@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.c')
0 files changed, 0 insertions, 0 deletions