Skip to content

Commit ace64e5

Browse files
sunshinecogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 950079b commit ace64e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/chainlint.sed

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@
7171
# incomplete line -- slurp up next line
7272
:squash
7373
/\\$/ {
74-
N
75-
s/\\\n//
76-
bsquash
74+
N
75+
s/\\\n//
76+
bsquash
7777
}
7878

7979
# here-doc -- swallow it to avoid false hits within its body (but keep the
@@ -199,7 +199,7 @@ s/.*\n//
199199
# "$(...)" -- command substitution; not closing ")"
200200
/\$([^)][^)]*)[^)]*$/bcheckchain
201201
# multi-line "$(...\n...)" -- command substitution; treat as nested subshell
202-
/\$([ ]*$/bnest
202+
/\$([ ]*$/bnest
203203
# "=(...)" -- Bash array assignment; not closing ")"
204204
/=(/bcheckchain
205205
# closing "...) &&"

0 commit comments

Comments
 (0)