summaryrefslogtreecommitdiffstats
path: root/t/chainlint.sed
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2018-07-31 07:03:20 +0200
committerJunio C Hamano <gitster@pobox.com>2018-07-31 20:24:14 +0200
commitace64e56c10a61b184e1fcfc0dae34b4e78036de (patch)
tree5818635b4f01be9cb4fba78a61e4ddc0f33f2fb9 /t/chainlint.sed
parentt/chainlint: add chainlint "specialized" test cases (diff)
downloadgit-ace64e56c10a61b184e1fcfc0dae34b4e78036de.tar.xz
git-ace64e56c10a61b184e1fcfc0dae34b4e78036de.zip
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>
Diffstat (limited to '')
-rw-r--r--t/chainlint.sed8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/chainlint.sed b/t/chainlint.sed
index a0de8a3882..5f0882cb38 100644
--- a/t/chainlint.sed
+++ b/t/chainlint.sed
@@ -71,9 +71,9 @@
# incomplete line -- slurp up next line
:squash
/\\$/ {
- N
- s/\\\n//
- bsquash
+ N
+ s/\\\n//
+ bsquash
}
# here-doc -- swallow it to avoid false hits within its body (but keep the
@@ -199,7 +199,7 @@ s/.*\n//
# "$(...)" -- command substitution; not closing ")"
/\$([^)][^)]*)[^)]*$/bcheckchain
# multi-line "$(...\n...)" -- command substitution; treat as nested subshell
-/\$([ ]*$/bnest
+/\$([ ]*$/bnest
# "=(...)" -- Bash array assignment; not closing ")"
/=(/bcheckchain
# closing "...) &&"