From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Jeff King <peff@peff.net>
Cc: "Junio C Hamano" <gitster@pobox.com>,
"Ævar Arnfjörð Bjarmason" <avarab@gmail.com>,
"Tanushree Tumane" <tanushreetumane@gmail.com>,
git@vger.kernel.org, pclouds@gmail.com
Subject: Re: [PATCH v4] commit: add a commit.allowEmpty config variable
Date: Thu, 15 Nov 2018 17:16:13 +0100 (STD) [thread overview]
Message-ID: <nycvar.QRO.7.76.6.1811151713530.41@tvgsbejvaqbjf.bet> (raw)
In-Reply-To: <20181115094101.GA15279@sigill.intra.peff.net>
Hi Peff,
On Thu, 15 Nov 2018, Jeff King wrote:
> On Thu, Nov 15, 2018 at 09:40:38AM +0100, Johannes Schindelin wrote:
>
> > From @chucklu:
> >
> > > my user case is like this :
> > >
> > > When I want to cherr-pick commits from A to G (ABCDEFG), image C and E
> > > are merge commits. Then I will get lots of popup like:
> > >
> > > The previous cherry-pick is now empty, possibly due to conflict
> > > resolution.
> > > If you wish to commit it anyway, use:
> > >
> > > git commit --allow-empty
> > >
> > > If you wish to skip this commit, use:
> > >
> > > git reset
> > >
> > > Then "git cherry-pick --continue" will resume cherry-picking
> > > the remaining commits.
> >
> > My quick interpretation of this is that the user actually needs a way to
> > skip silently commits which are now empty.
>
> If it's always intended to be used with cherry-pick, shouldn't
> cherry-pick learn a --keep-empty (like rebase has)? That would avoid
> even stopping for this case in the first place.
I'd go for the other way round: --skip-empty.
However, given the very unhappy turn in that Git for Windows ticket
(somebody asks for a feature, then just sits back, and does not even
confirm that the analysis covers their use case, let alone participates in
this discussion), I am personally not really interested in driving this
one any further.
Tanushree proved that they know how to contribute to the Git mailing list,
as a pre-requisite for the Outreachy project, and that is the positive
outcome of this thread as far as I am concerned. I am pretty happy about
that, too.
Ciao,
Dscho
prev parent reply other threads:[~2018-11-15 16:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-03 11:25 [PATCH] commit: add a commit.allowEmpty config variable tanushree27
2018-11-03 11:53 ` [[PATCH v2]] commit: add a commit.allowempty " tanushree27
2018-11-03 14:43 ` Duy Nguyen
2018-11-03 15:12 ` [PATCH v3] commit: add a commit.allowEmpty " tanushree27
2018-11-03 19:07 ` Ævar Arnfjörð Bjarmason
2018-11-05 0:30 ` Junio C Hamano
2018-11-13 15:56 ` [PATCH v4] " Tanushree Tumane
2018-11-13 19:24 ` Johannes Schindelin
2018-11-13 21:27 ` Ævar Arnfjörð Bjarmason
2018-11-14 4:16 ` Junio C Hamano
2018-11-14 14:04 ` Johannes Schindelin
2018-11-15 8:40 ` Johannes Schindelin
2018-11-15 9:41 ` Jeff King
2018-11-15 16:16 ` Johannes Schindelin [this message]
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nycvar.QRO.7.76.6.1811151713530.41@tvgsbejvaqbjf.bet \
--to=johannes.schindelin@gmx.de \
--cc=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=pclouds@gmail.com \
--cc=peff@peff.net \
--cc=tanushreetumane@gmail.com \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).