diff options
author | Joe Perches <joe@perches.com> | 2016-05-20 17:04:22 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-20 17:58:30 -0700 |
commit | 28898fd1a85fa37a59c090271e8be37afe710276 (patch) | |
tree | 35ed8dddbd115756d52bbe59fa44e4f5ab4764ec /init | |
parent | 0dea9f1eef86bedacad91b6f652ca1ab0d08854c (diff) | |
download | linux-28898fd1a85fa37a59c090271e8be37afe710276.tar.bz2 |
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 'init')
0 files changed, 0 insertions, 0 deletions