From 009ed9f19b5e36f1a290101085bdd864385da24e Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Mon, 8 Apr 2019 15:54:23 +1000 Subject: [PATCH] check_fixes: make sure the double quotes appear in the helpful message --- check_fixes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5