From: Patrick Steinhardt <ps@pks.im>
To: Jeff King <peff@peff.net>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: What's cooking in git.git (Dec 2015, #01; Tue, 1)
Date: Mon, 7 Dec 2015 14:40:14 +0100 [thread overview]
Message-ID: <20151207134014.GA1105@pks-xps.fritz.box> (raw)
In-Reply-To: <20151202223114.GA20542@sigill.intra.peff.net>
[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]
On Wed, Dec 02, 2015 at 05:31:14PM -0500, Jeff King wrote:
> On Wed, Dec 02, 2015 at 02:11:32PM -0800, Junio C Hamano wrote:
[snip]
> > "--keep-empty" has always been about keeping an originally empty
> > commit, not a commit that becomes empty because of rebasing
> > (i.e. what has already been applied to the updated base). The
> > documentation, if it leads to any other interpretation, needs to be
> > fixed.
> >
> > Besides, if "--keep-empty" were to mean "keep redundant ones that
> > are already in the updated base", the patch must do a lot more,
> > e.g. stop filtering with git-cherry patch equivalence.
> >
> > I'm inclined to eject this topic.
>
> That was my thinking too (and I notice it didn't get any review from
> anybody else).
[snip]
Well, I kind of agree. The cherry-pick command has both
--allow-empty and --keep-redundant flags, where the second one is
the kind of behavior I want to achieve in my case. As an
alternative to the proposed change to `--keep-empty` I could
instead introduce a new flag `--keep-redundant-commits` to `git
rebase` which would then pass the flag through to the
cherry-pick.
Any opinions on this?
Patrick
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-12-07 13:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-02 0:24 What's cooking in git.git (Dec 2015, #01; Tue, 1) Jeff King
2015-12-02 22:11 ` Junio C Hamano
2015-12-02 22:31 ` Jeff King
2015-12-02 23:31 ` Junio C Hamano
2015-12-03 0:07 ` Jeff King
2015-12-03 0:13 ` Junio C Hamano
2015-12-03 1:09 ` Junio C Hamano
2015-12-07 13:40 ` Patrick Steinhardt [this message]
2015-12-07 19:24 ` Junio C Hamano
2015-12-08 10:05 ` Patrick Steinhardt
2015-12-03 0:29 ` David Turner
2015-12-03 3:02 ` brian m. carlson
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=20151207134014.GA1105@pks-xps.fritz.box \
--to=ps@pks.im \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=peff@peff.net \
/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).