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

Re: [PATCH v3 0/2] git-gui: change to display the combined diff in the case of conflicts.

From
Jon Seymour <jon.seymour@gmail.com>
Date
Mar 31, 2010, 11:12 UTC
Message-ID
<k2p2cfc40321003310412hf4c6d642n4349af3f644829ff@mail.gmail.com>
In-Reply-To
<4BB2F7A0.6020702@viscovery.net>
Show 5 quoted lines
> I looked at the result, but it does not convince me. In my case, I have a
> large file that has many changes between the "maint" and "master"
> branches. Whenever there are conflicts after merging "maint" to "master",
> I see all these changes, and really they *are* uninteresting.
>
I think you may have missed the point of my patch.

The successfully merged lines may be uninteresting from the point of deciding what I should *do* but they are highly relevant to the question of what I really, really should *not* do.

If there are 100 successfully merged lines from each side of the merge but only 2 conflicting lines, should I

a) pick the remote branch b) pick the local branch c) manually edit the conflicting line (or use a merge tool)

The point of my patch it to make it much more likely that you will pick c).

In the current state, the GUI doesn't make it clear that either a) or b) is almost certainly a huge mistake.

Now, you could disable Use Remote and Use Local for all but the very simplest cases - but you don't need it for these cases. Hell, ed would do for these.

jon.
Previous: Johannes SixtNext: Johannes Sixt
Message 3 of 10 in “git-gui: change to display the combined diff in the case of conflicts.”
  1. 0/2 git-gui: change to display the combined diff in the case of conflicts.Jon Seymour, Mar 30, 2010
  2. Johannes SixtMar 31, 2010
  3. Jon SeymourMar 31, 2010
  4. Johannes SixtMar 31, 2010
  5. Jon SeymourMar 31, 2010
  6. Jon SeymourMar 31, 2010
  7. Johannes SixtMar 31, 2010
  8. Jon SeymourMar 31, 2010
  9. Johannes SixtApr 2, 2010
  10. Jon SeymourApr 4, 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.