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

Re: baffled again

From
TLTony Luck <tony.luck@gmail.com>
Date
Aug 25, 2005, 05:58 UTC
Message-ID
<12c511ca05082422584e6b1bfb@mail.gmail.com>
In-Reply-To
<7vzmr63deq.fsf@assigned-by-dhcp.cox.net>
>  * Even if it does always choose the nicer choice of the two,
>    Tony was lucky (no pun intended).  Rather, we were lucky that
>    Tony was observant.  A careless merger may well have easily
>    missed this mismerge (from the human point of view).

Actually I can't take credit here. This was a case of the "many-eyes" of open source working at its finest ... someone e-mailed me and told me that I should have backed out the old patch before applying the new one. While typing the e-mail to say that I already had in the release branch, I found the problem that it had been "lost" in the merge into the test branch.

But this is a good reminder that merging is not a precise science, and there is more than one plausible merge in many situations ... and while GIT will pick the one that you want far more often than not, there is the possibility that it will surprise you. Maybe there should be a note to this effect in the tutorial. Git is not magic, nor is it imbued with DWIM technology.

-Tony
Previous: Junio C HamanoNext: Daniel Barkalow
Message 9 of 10 in “baffled again”
  1. tony.luck@intel.comAug 23, 2005
  2. Tony LuckAug 24, 2005
  3. Linus TorvaldsAug 24, 2005
  4. Junio C HamanoAug 24, 2005
  5. Daniel BarkalowAug 24, 2005
  6. Linus TorvaldsAug 24, 2005
  7. Linus TorvaldsAug 24, 2005
  8. Junio C HamanoAug 25, 2005
  9. Tony LuckAug 25, 2005
  10. Daniel BarkalowAug 24, 2005

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.