From eb8b08702079dfcfaea7f47e2a75f51ec0ee6e7c Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 18 Jul 2018 23:29:21 +1000 Subject: [PATCH] check_commits: output a more useful commit line --- check_commits | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_commits b/check_commits index 37457e7..bfce102 100755 --- a/check_commits +++ b/check_commits @@ -36,7 +36,7 @@ for c in $commits; do cm=true if "$am" || "$cm"; then - printf "Commit %s\n" "$c" + git log -1 --pretty='format: %h ("%s")' "$c" "$am" && printf "\tauthor SOB missing\n" "$cm" && printf "\tcommitter SOB missing\n" printf "%s %s\n%s\n" "$ae" "$ce" "$sob" -- 2.39.5