Re: more merge strategies : feature request
- From
- Leo Razoumov <slonik.az@gmail.com>
- Date
- Dec 3, 2008, 01:07 UTC
- Message-ID
- <ee2a733e0812021707i82049eai866035aef3386264@mail.gmail.com>
- In-Reply-To
- <81bfc67a0812020546o79906a20jcd04bd42d18dd803@mail.gmail.com>
On 12/2/08, Caleb Cushing <xenoterracide@gmail.com> wrote:
Show 12 quoted lines
> > I guess that "no-overwrite" can be achieved by > > > > git merge -s ours --no-commit > > > no it doesn't. which is why I called it a bad name. no-overwrite would > still add new lines to the file not in ours (and no-commit isn't > needed in that case) it just wouldn't overwrite conflicting lines, my > understanding of ours is that it will keep the files as is. > > Caleb Cushing >
>From your original email in this thread
"no-overwrite: if a change from the branch being merged in would overwrite something in the current branch don't merge it. (I think it needs a better name)"
I got the impression that you would like to preserve "ours" branch whenever other branch tries to overwrite something? Is it "no-override-conflicting-lines" that you are really after?
--Leo--