From: Stephen Rothwell Date: Mon, 8 Apr 2019 05:54:23 +0000 (+1000) Subject: check_fixes: make sure the double quotes appear in the helpful message X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=009ed9f19b5e36f1a290101085bdd864385da24e;p=next-scripts check_fixes: make sure the double quotes appear in the helpful message --- diff --git a/check_fixes b/check_fixes index 63abf88..d75e1ef 100755 --- a/check_fixes +++ b/check_fixes @@ -128,7 +128,7 @@ has these problem(s): target_subject=$(strip_spaces "$target_subject") if [ "$subject" != "${target_subject:0:${#subject}}" ]; then - msg="${msg:+${msg}${nl}} - Subject does not match target commit subject${nl} Just use${nl}${tab}git log -1 --format='Fixes: %h ("%s")'" + msg="${msg:+${msg}${nl}} - Subject does not match target commit subject${nl} Just use${nl}${tab}git log -1 --format='Fixes: %h (\"%s\")'" fi lsha=$(cd "$Linus_tree" && git rev-parse -q --verify "$sha") if [ -z "$lsha" ]; then