git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Elijah Newren <newren@gmail.com>
To: Phillip Wood <phillip.wood@dunelm.org.uk>
Cc: Junio C Hamano <gitster@pobox.com>,
	Git Mailing List <git@vger.kernel.org>,
	Johannes Schindelin <Johannes.Schindelin@gmx.de>
Subject: Re: What's cooking in git.git (Feb 2020, #04; Mon, 17)
Date: Wed, 26 Feb 2020 12:04:08 -0800	[thread overview]
Message-ID: <CABPp-BG_qoGFYhEMAtq0J8ZjS8SxC7WA=FjzWnNpM84CZTSVNw@mail.gmail.com> (raw)
In-Reply-To: <CABPp-BE_ktNmDB43N_qijzYzhXvsK8Fi7TJQ7goHu+MzGvdpBQ@mail.gmail.com>

On Fri, Feb 21, 2020 at 7:03 PM Elijah Newren <newren@gmail.com> wrote:
>
> On Fri, Feb 21, 2020 at 8:26 AM Phillip Wood <phillip.wood123@gmail.com> wrote:
> >
> > On 17/02/2020 22:08, Junio C Hamano wrote:
> > > Here are the topics that have been cooking.  Commits prefixed with
> > > '-' are only in 'pu' (proposed updates) while commits prefixed with
> > > '+' are in 'next'.  The ones marked with '.' do not appear in any of
> > > the integration branches, but I am still holding onto them.
> > >
> > > Accumulated fixes on the 'master' front have been flushed to 'maint'
> > > and a new maintenance release 2.25.1 has been tagged.
> > > [...]
> > > [Stalled]
> > >
> > > * pw/advise-rebase-skip (2019-12-06) 9 commits
> > >   - rebase -i: leave CHERRY_PICK_HEAD when there are conflicts
> > >   - rebase: fix advice when a fixup creates an empty commit
> > >   - commit: give correct advice for empty commit during a rebase
> > >   - commit: encapsulate determine_whence() for sequencer
> > >   - commit: use enum value for multiple cherry-picks
> > >   - sequencer: write CHERRY_PICK_HEAD for reword and edit
> > >   - cherry-pick: check commit error messages
> > >   - cherry-pick: add test for `--skip` advice in `git commit`
> > >   - t3404: use test_cmp_rev
> > >
> > >   The mechanism to prevent "git commit" from making an empty commit
> > >   or amending during an interrupted cherry-pick was broken during the
> > >   rewrite of "git rebase" in C, which has been corrected.
> > >
> > >   What's the status of this one?
> > >   The tip two are still RFC.
> >
> > The tip "rebase -i: leave CHERRY_PICK_HEAD when there are conflicts"
> > needs reworking and can be dropped (cf
> > <7e1b92f5-48df-e202-ebcc-5b15987a7d63@gmail.com>). The other RFC patch
> > "rebase: fix advice when a fixup creates an empty commit" [1] could do
> > with someone commenting on it (I've Cc'd dscho and Elijah). I think the
>
> I'll try to take a look early to middle of next week.
>
> > messages in it could be improved, but if the idea of different messages
> > for fixups that make a commit empty is not popular then the rest of the
> > series can be simplified by dropping some earlier patches including
> > patch 6 which you had some doubts about. (I tired to address those
> > <141f95b0-cae0-06f6-2c29-618dc22ae000@gmail.com> but I don't know if I
> > convinced you)

Sorry for the delay.  I can see how different messages might be useful
in the case where a fixup creates an empty commit, but I think it
would need more care since users won't know whether instructions are
referring to the combined changes of the original commit plus the
fixup, or if the instructions about skipping/dropping/whatever are
just referring to the changes from the fixup.  It wasn't clear to me.

Added a few other comments on that patch too.  Most of the patches
earlier in the series looked good to me; I was slightly
concerned/confused initially by patch 6 and part of patch 8 for
similar reasons on the determine_whence stuff.  This was only a minor
concern and I wouldn't hold up the patches over this, but I did I
throw an idea out there as an alternative -- though it might possibly
be worse.  (Nothing like throwing a bad idea out there to get creative
juices flowing, right?)  I skipped patch 9 since you already mentioned
it needs fixes.

      parent reply	other threads:[~2020-02-26 20:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-17 22:08 What's cooking in git.git (Feb 2020, #04; Mon, 17) Junio C Hamano
2020-02-18  3:30 ` Elijah Newren
2020-02-18 16:00   ` en/rebase-backend, was " Johannes Schindelin
2020-02-26 10:34     ` Alban Gruin
2020-02-22  3:11   ` Elijah Newren
2020-02-22 17:18     ` Junio C Hamano
2020-02-19 19:58 ` Taylor Blau
2020-02-19 20:50   ` Eric Sunshine
2020-02-19 21:51   ` Junio C Hamano
2020-02-19 22:07     ` Taylor Blau
2020-02-21 16:26 ` Phillip Wood
2020-02-22  3:03   ` Elijah Newren
2020-02-22 17:16     ` Junio C Hamano
2020-02-26 20:04     ` Elijah Newren [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='CABPp-BG_qoGFYhEMAtq0J8ZjS8SxC7WA=FjzWnNpM84CZTSVNw@mail.gmail.com' \
    --to=newren@gmail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=phillip.wood@dunelm.org.uk \
    /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).