summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorLibravatar Kevin Bracey <kevin@bracey.fi>2013-05-16 18:32:36 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-16 11:51:09 -0700
commit9c129eab99f16d7bb174b35573e68ae6a5d02efe (patch)
treeec1b25ac5a95875ef49d1d0d9c80154dfec19cc3 /builtin.h
parentt6012: update test for tweaked full-history traversal (diff)
downloadtgif-9c129eab99f16d7bb174b35573e68ae6a5d02efe.tar.xz
simplify-merges: never remove all TREESAME parents
When simplifying an odd merge, such as one that used "-s ours", we may find ourselves TREESAME to apparently redundant parents. Prevent simplify_merges() from removing every TREESAME parent; if this would happen reinstate the first TREESAME parent - the one that the default log would have followed. This avoids producing a totally disjoint history from the default log when the default log is a better explanation of the end result, and aids visualisation of odd merges. Signed-off-by: Kevin Bracey <kevin@bracey.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin.h')
0 files changed, 0 insertions, 0 deletions