aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShourya Shukla <shouryashukla.oo@gmail.com>2020-08-21 22:29:48 +0530
committerJunio C Hamano <gitster@pobox.com>2020-08-21 11:47:55 -0700
commit94e06c905740eaec7501fc026598b5839cc63fba (patch)
treee773936025b8f942dc57662a8c0a017139eb7f7b
parent7814e8a05a59c0cf5fb186661d1551c75d1299b5 (diff)
downloadgit-94e06c905740eaec7501fc026598b5839cc63fba.tar.gz
t7401: modernize style
The tests in 't7401-submodule-summary.sh' were written a long time ago and has a violation with respect to our CodingGuidelines which is, incorrect spacing in usages of the redirection operator. Mentored-by: Christian Couder <chriscool@tuxfamily.org> Mentored-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com> Helped-by: Denton Liu <liu.denton@gmail.com> Helped-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Shourya Shukla <shouryashukla.oo@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t7401-submodule-summary.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7401-submodule-summary.sh b/t/t7401-submodule-summary.sh
index 9bc841d085..07d4ba0b26 100755
--- a/t/t7401-submodule-summary.sh
+++ b/t/t7401-submodule-summary.sh
@@ -16,7 +16,7 @@ add_file () {
owd=$(pwd)
cd "$sm"
for name; do
- echo "$name" > "$name" &&
+ echo "$name" >"$name" &&
git add "$name" &&
test_tick &&
git commit -m "Add $name"