Re: Cumulative "git read-tree -m" rejected with overwriting warning
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 13, 2013, 23:40 UTC
- Message-ID
- <7v1ucj4wbb.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20130213230213.GT20333@localhost>
Marcin Owsiany <marcin@owsiany.pl> writes:
Show 5 quoted lines
> "the index file saves and restores with all this information, so you > can merge things incrementally," > > which I took to mean that I can read from multiple trees one by one > before writing the tree.
That "incrementally" refers to "after a three-way merge stops with conflicts in multiple files, you can start from file A, concentrate only on that file, resolve it, and then go on to resolve conflicts in the next file B, continue, until you resolve the conflicts in the last file Z". Until you resolve a single tree-way merge fully and write the results out as a tree, you cannot merge in the next tree.
That is why N-way octopus is internally implemented as a series of three-way merges.