We need a doc to guide new contributors patch submission [was: Re: Working on -e trace]

Fabien Siron fabien.siron at epita.fr
Fri May 6 15:05:53 UTC 2016


Quoting haris iqbal (2016-05-05 06:24:03)
> On Sun, May 1, 2016 at 1:43 AM, Fabien Siron <fabien.siron at epita.fr> wrote:
> > Hi,
> >
> > Quoting haris iqbal (2016-04-30 19:01:23)
> >> Hi,
> >>
> >> So, this is my attempt at writing the wiki. Comments and suggestions are
> >> welcome.
> >
> > It should be maybe interesting to add the --reroll-count=X to format-patch
> > as it is very convenient to do patch versions.
> 
> Yes. That looks useful. But, it seems a little detailed for a "Basic
> guide" like this one.

It just replaces the subject field, both lines do the same thing:
$ git format-patch -1 <commit> --author="<Your Name>" \
  --subject-prefix="[PATCH v<version number>]"
$ git format-patch -1 <commit> --author="<Your Name>" \
  --reroll-count=<version number>

It seems easier for me.

By the way, if you want to do a patch of the last commit, <commit> can be
empty. For example:
$ git format-patch -1 --reroll-count=<version number>

Cheers,
--
Fabien Siron




More information about the Strace-devel mailing list