Or: $ git request-pull -p A B C | ./scripts/checkpatch.pl -f -
Should work as well. On Wed, Nov 11, 2015 at 8:55 AM, Barret Rhoden <[email protected]> wrote: > On 2015-11-11 at 08:48 Kevin Klues <[email protected]> wrote: > > I have some git-hooks I wrote to perform checkpatch automatically on > > every commit. They haven't made their way back to master yet, but they > > are on my 'bootstrap' branch on github. Just copy these files into > > your $AKAROS_ROOT/.git folder to apply them. > > > > https://github.com/klueska/akaros/tree/bootstrap/scripts/git-hooks > > likewise, if you want to do the check right before submission, take > your FROM and TO (which you use for either request-pull or send-email): > > $ git format-patch -o /tmp/SOMEDIR/ FROM..TO > $ ./scripts/checkpatch.pl /tmp/SOMEDIR/*.patch > (some time later) > $ rm /tmp/SOMEDIR/*.patch > > in lieu of SOMEDIR, you can drop -o and just use your current directory > too. > > barret > > -- > You received this message because you are subscribed to the Google Groups > "Akaros" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
