--- dim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dim b/dim index a1a821d..a9ba6b3 100755 --- a/dim +++ b/dim @@ -855,6 +855,9 @@ function checkpatch_commit git --no-pager log --oneline -1 $commit $cmd | scripts/checkpatch.pl -q --emacs --strict - || true + if ! git show --pretty=email -s $commit | grep -q -E '^(Reviewed-by|Acked-by):'; then + warn_or_fail "No Reviewed-by (or Acked-by) found" + fi local bug_lines=$($cmd | grep -m 1 -B 1 '^\+.*\WBUG' | grep -c '^[+-].*\WBUG') if test "$bug_lines" -eq 1; then -- 2.10.2 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx