[Mesa-dev] [PATCH 01/26] docs: git tips
Kenneth Graunke
kenneth at whitecape.org
Mon Feb 29 23:36:35 UTC 2016
On Monday, February 29, 2016 11:13:44 AM PST Matt Turner wrote:
> On Mon, Feb 29, 2016 at 8:13 AM, Emil Velikov <emil.l.velikov at gmail.com>
wrote:
> > On 29 February 2016 at 01:17, Timothy Arceri
> > <timothy.arceri at collabora.com> wrote:
> >> From: Timothy Arceri <t_arceri at yahoo.com.au>
> >>
> >> ---
> >> docs/devinfo.html | 18 ++++++++++++++++++
> >> 1 file changed, 18 insertions(+)
> >>
> >> diff --git a/docs/devinfo.html b/docs/devinfo.html
> >> index 8ebf80f..ed9eb9b 100644
> >> --- a/docs/devinfo.html
> >> +++ b/docs/devinfo.html
> >> @@ -162,6 +162,24 @@ components.
> >> perhaps, in very trivial cases.)
> >> </ul>
> >>
> >> +<h3>Git Tips</h3>
> >> +
> >> +<ul>
> >> +<li>Test for build breakage between patches e.g last 8 commits.
> >> +<pre>
> >> + git rebase -i --exec="make -j4" HEAD~8
> >> +</pre>
> >> +<li>Sets the default mailing address for your repo.
> >> +<pre>
> >> + git config --local sendemail.to mesa-dev at lists.freedesktop.org
> >> +</pre>
> >> +<li> Add version to subject line of patch series in this case for the
last 8
> >> +commits before sending.
> >> +<pre>
> >> + git send-email --subject-prefix="PATCH v4" HEAD~8
> >
> > Fwiw some of us tend to use the shorter version:
> >
> > $ git send-email -v4 -8
> >
> > Whether we want it or not I prefer if others decise.
>
> Since I didn't know either of those arguments, and Ken just replied
> and suggested one but not the other, it seems valuable to note them
> instead :)
Nice! I knew about -1, but I didn't realize you could put an arbitrary
integer there to get more than one patch. Thanks :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160229/ffb685a2/attachment.sig>
More information about the mesa-dev
mailing list