Ramkumar Ramachandra wrote:
> Felipe Contreras wrote:
> > diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
> > index 43631b4..fd085e1 100644
> > --- a/git-rebase--interactive.sh
> > +++ b/git-rebase--interactive.sh
> > @@ -248,7 +248,7 @@ pick_one () {
> >
> > test -d "$rewritten" &&
> > pick_one_preserving_merges "$@" && return
> > - output eval git cherry-pick "$strategy_args" $empty_args $ff "$@"
> > + output eval git cherry-pick "--action-name ''" "$strategy_args"
> > $empty_args $ff "$@"
>
> Passing an empty action-name looks quite ugly. Is there a better way
> to achieve this?
I want `git cherry-pick` to be able to do two things:
1) Omit the whole notes and hooks code
2) Specify a name other than "cherry-pick" to use for those
The --action-name argument achieves both.
--
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html