]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t7401: modernize style
authorShourya Shukla <shouryashukla.oo@gmail.com>
Fri, 21 Aug 2020 16:59:48 +0000 (22:29 +0530)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Aug 2020 18:47:55 +0000 (11:47 -0700)
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>
t/t7401-submodule-summary.sh

index 9bc841d085ee74cbc4a103b3c2f07c7e4b86e82d..07d4ba0b267dee0434bdb9f685b95d7d646ab253 100755 (executable)
@@ -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"