devtools: select patches to check with git range
authorDavid Marchand <david.marchand@redhat.com>
Fri, 10 May 2019 07:49:36 +0000 (09:49 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 10 May 2019 13:16:23 +0000 (15:16 +0200)
commitee2b25c85a027af658ff50f33d737716d6350b90
tree2a384126a53bcb9064bf635cd2c844f2aab87cf4
parent93fa422f742ad9c4679a25d4b0e875856fd6a393
devtools: select patches to check with git range

Rather than default to origin/master.., it can be handy to choose the
range you want to check.

Example on a branch rebased on next-net:

Before:
$ ./devtools/checkpatches.sh
...
...
67/69 valid patches

After:
$ ./devtools/checkpatches.sh -r next-net/master..

3/3 valid patches

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
devtools/checkpatches.sh