git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Dilip MNext: Sitaram Chamarty
Message 4 of 5 in “force "unmerged" for same-file auto-merges”
  1. Neal KreitzingerMar 24, 2010
  2. Neal KreitzingerMar 26, 2010
  3. Dilip MMar 27, 2010
  4. Junio C HamanoMar 26, 2010
  5. Sitaram ChamartyMar 27, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.