Re: Use case I don't know how to address
- From
Alan Chandler <alan@chandlerfamily.org.uk>
- Date
- Sep 6, 2009, 12:44 UTC
- Message-ID
- <4AA3AEA1.7030107@chandlerfamily.org.uk>
- In-Reply-To
- <7vk50ccxfj.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 19 quoted lines
> Alan Chandler <alan@chandlerfamily.org.uk> writes: > >> 2' - 2a - 3' - 4' ----------------- 6' SITE >> / / / / >> 1 - 2 ------ 3 - 4 ------------6'''- 6a TEST >> \ / >> 5 ------ 6 MASTER >> \ \ >> 5''- 5a- 6'' DEMO >> >> >> What will happen is the changes made in 4->5 will get applied to the >> (now) Test branch as part of the 6->6'' merge, and I will be left >> having to add a new commit, 6a, to undo them all again. Given this is >> likely to be quite a substantial change I want to try and avoid it if >> possible. > > I presume 6'''-6a has the revert of 4-5? If so, the next merge should > work just fine.
I think you missed the issue - Yes 6'''-6a is the revert, but the problem is this could be large and complicated, and I wanted to find an automated way rather than manual
Sort of like doing a diff of 4-5 and somehow applying it backwards.
-- Alan Chandler http://www.chandlerfamily.org.uk