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

Re: [PATCH 1/1] Add --first-parent support to interactive rebase.

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 31, 2007, 05:05 UTC
Message-ID
<7vodefj2lk.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1193797309-1161-1-git-send-email-B.Steinbrink@gmx.de>

Your MUA seems to mark the UTF-8 message you are sending out as 8859-1, which means your name in the message gets corrupt.

Björn Steinbrink <B.Steinbrink@gmx.de> writes:
Show 12 quoted lines
> By default, rebase will take all commits from the branch that is to be
> rebased which are missing in upstream. The new --first-parent option
> allows to just follow the first parent and thus completely ignore
> merges.
>
> Additionally, when used together with --preserve-merges (which is the
> more useful use-case) it will no longer rebase the commits from the
> merged-in branches, but instead redo the merge with the original
> parents.
>
> That means that:
>      ---H------I topicB
Please add a blank line after "means that:" for readability.
>     /    \      \
> ...
> does no longer become:
>                 -H'--------I'
Likewise; also, "no longer becomes:".
Show 9 quoted lines
>                /  \         \
>               D'---E'---F'---G' topicA
>              /
>     A---B---C master
>      \
>       H---I topicB
>
> but instead:
>     A---B---C master
Likewise.
> ...
>         ---------H---------I topicB
And crucially, you forgot to say "... when you do X".
I am assuming that you meant:
    This (picture) becomes this (picture) instead of this (picture)
    when you run "git rebase -p -m master topicA".
but without it, the nice ASCII drawings loses their value.

It is somewhat disturbing that this treats the first parent too special.

Previous: Wincent ColaiutaNext: Björn Steinbrink
Message 6 of 18 in “Add --first-parent support to interactive rebase.”
  1. 1/1 Add --first-parent support to interactive rebase.Björn Steinbrink, Oct 31, 2007
  2. Johannes SchindelinOct 31, 2007
  3. Björn SteinbrinkOct 31, 2007
  4. Johannes SchindelinOct 31, 2007
  5. Wincent ColaiutaOct 31, 2007
  6. Junio C HamanoOct 31, 2007
  7. Björn SteinbrinkOct 31, 2007
  8. Dmitry PotapovOct 31, 2007
  9. Karl HasselströmOct 31, 2007
  10. Dmitry PotapovOct 31, 2007
  11. Jeff KingOct 31, 2007
  12. Björn SteinbrinkOct 31, 2007
  13. Junio C HamanoOct 31, 2007
  14. Jeff KingOct 31, 2007
  15. Junio C HamanoOct 31, 2007
  16. Jeff KingNov 1, 2007
  17. Junio C HamanoNov 1, 2007
  18. Jeff KingNov 1, 2007

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.