Skip to content

Commit 27691ca

Browse files
Denton-Lgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 274b9cc commit 27691ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/lib-submodule-update.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ test_git_directory_is_unchanged () {
183183
)
184184
}
185185

186-
test_git_directory_exists() {
186+
test_git_directory_exists () {
187187
test -e ".git/modules/$1" &&
188188
if test -f sub1/.git
189189
then
@@ -309,7 +309,7 @@ test_submodule_content () {
309309

310310
# Internal function; use test_submodule_switch() or
311311
# test_submodule_forced_switch() instead.
312-
test_submodule_switch_common() {
312+
test_submodule_switch_common () {
313313
command="$1"
314314
######################### Appearing submodule #########################
315315
# Switching to a commit letting a submodule appear creates empty dir ...
@@ -629,7 +629,7 @@ test_submodule_forced_switch () {
629629

630630
# Internal function; use test_submodule_switch_recursing_with_args() or
631631
# test_submodule_forced_switch_recursing_with_args() instead.
632-
test_submodule_recursing_with_args_common() {
632+
test_submodule_recursing_with_args_common () {
633633
command="$1"
634634

635635
######################### Appearing submodule #########################

0 commit comments

Comments
 (0)