> Subject: [GSoC][PATCH 3/3] cherry-pick/revert: update hints "update hints" is very generic when read in 'git log --oneline', and doesn't give the reader much useful information. Maybe something like cherry-pick/revert: advice using --skip In the previous commit we introduced a --skip flag for cherry-pick and revert. Update the advice messages, to tell users about this less cumbersome way of skipping commits would work better? The rest of the patch looks good to me. On 06/09, Rohit Ashiwal wrote: > Signed-off-by: Rohit Ashiwal <rohit.ashiwal265@xxxxxxxxx> > --- > builtin/commit.c | 13 ++++++++----- > sequencer.c | 4 ++-- > 2 files changed, 10 insertions(+), 7 deletions(-) > > diff --git a/builtin/commit.c b/builtin/commit.c > index 1c9e8e2228..1f47c51bdc 100644 > --- a/builtin/commit.c > +++ b/builtin/commit.c > @@ -60,15 +60,18 @@ N_("The previous cherry-pick is now empty, possibly due to conflict resolution.\ > "\n"); > > static const char empty_cherry_pick_advice_single[] = > -N_("Otherwise, please use 'git reset'\n"); > +N_("Otherwise, please use 'git cherry-pick --skip'\n"); > > static const char empty_cherry_pick_advice_multi[] = > -N_("If you wish to skip this commit, use:\n" > +N_("and then use:\n" > "\n" > -" git reset\n" > +" git cherry-pick --continue\n" > "\n" > -"Then \"git cherry-pick --continue\" will resume cherry-picking\n" > -"the remaining commits.\n"); > +"to resume cherry-picking the remaining commits.\n" > +"If you wish to skip this commit, use:\n" > +"\n" > +" git cherry-pick --skip\n" > +"\n"); > > static const char *color_status_slots[] = { > [WT_STATUS_HEADER] = "header", > diff --git a/sequencer.c b/sequencer.c > index f586e677d3..e889427eef 100644 > --- a/sequencer.c > +++ b/sequencer.c > @@ -2654,8 +2654,8 @@ static int create_seq_dir(void) > { > if (file_exists(git_path_seq_dir())) { > error(_("a cherry-pick or revert is already in progress")); > - advise(_("try \"git cherry-pick (--continue | --quit | --abort)\"")); > - advise(_("or \"git revert (--continue | --quit | --abort)\"")); > + advise(_("try \"git cherry-pick (--continue | --skip | --quit | --abort)\"")); > + advise(_("or \"git revert (--continue | --skip | --quit | --abort)\"")); > return -1; > } else if (mkdir(git_path_seq_dir(), 0777) < 0) > return error_errno(_("could not create sequencer directory '%s'"), > -- > 2.21.0 >