From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: "Björn Steinbrink" <B.Steinbrink@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 1/1] Add --first-parent support to interactive rebase.
Date: Wed, 31 Oct 2007 03:34:47 +0000 (GMT) [thread overview]
Message-ID: <Pine.LNX.4.64.0710310329520.4362@racer.site> (raw)
In-Reply-To: <1193797309-1161-1-git-send-email-B.Steinbrink@gmx.de>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1066 bytes --]
Hi,
On Wed, 31 Oct 2007, Björn Steinbrink wrote:
> @@ -246,6 +292,13 @@ OPTIONS
> Instead of ignoring merges, try to recreate them. This option
> only works in interactive mode.
>
> +\--first-parent::
> + Only follow the first parent commits in merge commits when looking
> + for the commits that are to be rebased. This is most useful with -p
> + as it will cause rebase to recreate the merges against the original
> + branches instead of rebasing those branches as well. This option
> + only works in interactive mode.
> +
Hmm. I had to read this several times to understand it. Maybe something
like this instead?
\--first-parent::
When you want to preserve merges, this option allows you to rebase
only the commits which were not merged in, i.e. which are in the
first parent ancestry of the current HEAD.
+
This option only makes sense together with --preserve-merges.
Also, could you please add a test case to make sure that your patch works
as advertised (and that this functionality will not be broken in future
commits)?
Thanks,
Dscho
next prev parent reply other threads:[~2007-10-31 3:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-31 2:21 [PATCH 1/1] Add --first-parent support to interactive rebase Björn Steinbrink
2007-10-31 3:34 ` Johannes Schindelin [this message]
2007-10-31 4:17 ` Björn Steinbrink
2007-10-31 4:50 ` Johannes Schindelin
2007-10-31 8:24 ` Wincent Colaiuta
2007-10-31 5:05 ` Junio C Hamano
2007-10-31 5:53 ` Björn Steinbrink
2007-10-31 13:43 ` Dmitry Potapov
2007-10-31 14:00 ` Karl Hasselström
2007-10-31 14:36 ` Dmitry Potapov
2007-10-31 18:05 ` Jeff King
2007-10-31 19:50 ` Björn Steinbrink
2007-10-31 21:53 ` Junio C Hamano
2007-10-31 21:56 ` Jeff King
2007-10-31 22:31 ` Junio C Hamano
2007-11-01 3:23 ` Jeff King
2007-11-01 4:10 ` Junio C Hamano
2007-11-01 4:14 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0710310329520.4362@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=B.Steinbrink@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).