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

Re: [PATCH v2 3/3] Add option to transpose parents of merge commit

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Nov 28, 2012, 06:56 UTC
Message-ID
<50B5B599.3020105@viscovery.net>
In-Reply-To
<1354057217-65886-4-git-send-email-draenog@pld-linux.org>
Am 11/28/2012 0:00, schrieb Kacper Kornet:
Show 7 quoted lines
> When the changes are pushed upstream, and in the meantime someone else
> updated upstream branch git advises to use git pull. This results in
> history:
> 
>      ---A---B---C--
>          \     /
>           D---E
The commit message will say:
  Merge branch 'master' of /that/remote
  * 'master' of /that/remote:
    E
    D
Show 7 quoted lines
> where B is the local commit. D, E are commits pushed by someone else
> when the developer was working on B. However sometimes the following
> history is preferable:
> 
>     ---A---D---C'--
>         \     /
>          '-B-'
Better:
     ---A--D--E--C'
         \      /
          `----B

In this case, the commit message should say... what? Certainly not the same thing. But I do not see that you changed anything in this regard.

-- Hannes
Previous: Kacper KornetNext: Junio C Hamano
Message 10 of 11 in “Add option to change order of parents in merge commit”
  1. 0/3 Add option to change order of parents in merge commitKacper Kornet, Nov 27, 2012
  2. 1/3 Process MERGE_MODE before MERGE_HEADKacper Kornet, Nov 27, 2012
  3. 2/3 Allow for MERGE_MODE to specify more then one modeKacper Kornet, Nov 27, 2012
  4. Junio C HamanoNov 28, 2012
  5. Kacper KornetNov 28, 2012
  6. Junio C HamanoNov 28, 2012
  7. 3/3 Add option to transpose parents of merge commitKacper Kornet, Nov 27, 2012
  8. Junio C HamanoNov 28, 2012
  9. Kacper KornetNov 28, 2012
  10. Johannes SixtNov 28, 2012
  11. Junio C HamanoNov 28, 2012

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.