Re: force "unmerged" for same-file auto-merges
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 26, 2010, 19:29 UTC
- Message-ID
- <7vtys2lw4z.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <hobqoc$5h3$1@dough.gmane.org>
"Neal Kreitzinger" <neal@rsss.com> writes:
> Does anyone know if there are configuration and/or command-line options in > git that can accomplish this in a fairly straightforward manner?
I know there isn't.
Essentially what you are asking for is
read-tree -m -u --trivial O A B
followed by no file-level automerge. I think you can write a custom merge strategy, perhaps using "resolve" as a template, to do that.
In practice, you will get too many false "conflicts" with such a strategy and the quality of your "review" would degrade from fatigue, I suspect.