@matheusbsbs / matheus-bagliano / commits / 27691ca27e
Fork 0

lib-submodule-update: add space after function name

In the shell scripts in this codebase, the usual style is to include a space between the function name and the (). Add these missing spaces to conform to the usual style of the code. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Denton Liu committed Apr 29, 2020 at 08:22 UTC 27691ca27e0be0195e30450cc0316c2cc090dfca
1 file changed +3 -3
t/lib-submodule-update.sh
+3 -3
@@ -183,7 +183,7 @@ test_git_directory_is_unchanged () {
183 )
184 }
185
186 -test_git_directory_exists() {
186 +test_git_directory_exists () {
187 test -e ".git/modules/$1" &&
188 if test -f sub1/.git
189 then
@@ -309,7 +309,7 @@ test_submodule_content () {
309
310 # Internal function; use test_submodule_switch() or
311 # test_submodule_forced_switch() instead.
312 -test_submodule_switch_common() {
312 +test_submodule_switch_common () {
313 command="$1"
314 ######################### Appearing submodule #########################
315 # Switching to a commit letting a submodule appear creates empty dir ...
@@ -629,7 +629,7 @@ test_submodule_forced_switch () {
629
630 # Internal function; use test_submodule_switch_recursing_with_args() or
631 # test_submodule_forced_switch_recursing_with_args() instead.
632 -test_submodule_recursing_with_args_common() {
632 +test_submodule_recursing_with_args_common () {
633 command="$1"
634
635 ######################### Appearing submodule #########################