From: Shourya Shukla Date: Fri, 21 Aug 2020 16:59:48 +0000 (+0530) Subject: t7401: modernize style X-Git-Tag: v2.29.0-rc0~106^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94e06c905740eaec7501fc026598b5839cc63fba;p=thirdparty%2Fgit.git 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 Mentored-by: Kaartic Sivaraam Helped-by: Denton Liu Helped-by: Taylor Blau Signed-off-by: Shourya Shukla Signed-off-by: Junio C Hamano --- 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"