diff options
author | Joe Perches <joe@perches.com> | 2016-05-21 02:04:22 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-21 02:58:30 +0200 |
commit | 28898fd1a85fa37a59c090271e8be37afe710276 (patch) | |
tree | 35ed8dddbd115756d52bbe59fa44e4f5ab4764ec /COPYING | |
parent | checkpatch: reduce number of `git log` calls with --git (diff) | |
download | linux-28898fd1a85fa37a59c090271e8be37afe710276.tar.xz linux-28898fd1a85fa37a59c090271e8be37afe710276.zip |
checkpatch: improve --git <commit-count> shortcut
The --git <commit-count> shortcut can be confused by a tag with a dash
like v4.4-rc1.
Improve the test to verify the <commit-count> expression ends with a
dash followed by a numeric value.
Improve the git log result to verify the "<sha1> <subject>" output
as well.
Link: http://lkml.kernel.org/r/c4a3f759291d967641860c3a54bb81177f34325f.1462711962.git.joe@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions