]> git.ozlabs.org Git - next-scripts/commitdiff
check_fixes: update a messages
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 4 Apr 2022 22:18:15 +0000 (08:18 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 4 Apr 2022 22:18:15 +0000 (08:18 +1000)
check_fixes

index 84d72150734715e44c73da727f1f07d0d6658625..2c63a931f9c10f80d3a3c1f40415c0e5155929dd 100755 (executable)
@@ -68,7 +68,7 @@ for c in $commits; do
                fi
 
                if [ "${#sha}" -lt 12 ]; then
-                       msg="${msg:+${msg}${nl}}  - SHA1 should be at least 12 digits long${nl}    Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.11${nl}    or later) just making sure it is not set (or set to \"auto\")."
+                       msg="${msg:+${msg}${nl}}  - SHA1 should be at least 12 digits long${nl}    This can be fixed for the future by setting core.abbrev to 12 (or${nl}    more) or (for git v2.11 or later) just making sure it is not set${nl}    (or set to \"auto\")."
                fi
                # reduce the subject to the part between () if there
                if [[ "$subject" =~ ^\((.*)\) ]]; then