summaryrefslogtreecommitdiff
path: root/cache-tree.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-07-23 14:23:24 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-03-15 15:30:58 -0700
commita13d13700b05442855447670d7c3313f99f5da3c (patch)
tree32fdfbb202c496fc57b072810f436acad6f3d2cd /cache-tree.h
parentrerere: delay the recording of preimage (diff)
downloadtgif-a13d13700b05442855447670d7c3313f99f5da3c.tar.xz
rerere: allow multiple variants to exist
The shape of the conflict in a path determines the conflict ID. The preimage and postimage pair that was recorded for the conflict ID previously may or may not replay well for the conflict we just saw. Currently, we punt when the previous resolution does not cleanly replay, but ideally we should then be able to record the currently conflicted path by assigning a new 'variant', and then record the resolution the user is going to make. Introduce a mechanism to have more than one variant for a given conflict ID; we do not actually assign any variant other than 0th variant yet at this step. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.h')
0 files changed, 0 insertions, 0 deletions