t/chainlint.sed: drop extra spaces from regex character class
This character class, like many others in this script, matches horizontal whitespace consisting of spaces and tabs, however, a few extra, entirely harmless, spaces somehow slipped into the expression. Removing them is purely a cosmetic fix. While at it, re-indent three lines with a single TAB each which were incorrectly indented with six spaces. Also, a purely cosmetic fix. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Eric Sunshine committed
Jul 31, 2018 at 01:03 UTC
ace64e56c10a61b184e1fcfc0dae34b4e78036de
1 file changed
+4
-4
t/chainlint.sed
+4
-4
@@ -71,9 +71,9 @@
71
# incomplete line -- slurp up next line
72
:squash
73
/\\$/ {
74
- N
75
- s/\\\n//
76
- bsquash
74
+ N
75
+ s/\\\n//
76
+ bsquash
77
}
78
79
# here-doc -- swallow it to avoid false hits within its body (but keep the
@@ -199,7 +199,7 @@ s/.*\n//
199
# "$(...)" -- command substitution; not closing ")"
200
/\$([^)][^)]*)[^)]*$/bcheckchain
201
# multi-line "$(...\n...)" -- command substitution; treat as nested subshell
202
-/\$([ ]*$/bnest
202
+/\$([ ]*$/bnest
203
# "=(...)" -- Bash array assignment; not closing ")"
204
/=(/bcheckchain
205
# closing "...) &&"