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>
This commit is contained in:
Shourya Shukla 2020-08-21 22:29:48 +05:30 committed by Junio C Hamano
parent 7814e8a05a
commit 94e06c9057

View File

@ -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"