[PATCH 09/10] submodule sync: use submodule--helper is-active
From: Brandon Williams <hidden>
Date: 2017-02-23 23:49:10
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Brandon Williams <hidden>
Date: 2017-02-23 23:49:10
Subsystem:
the rest · Maintainer:
Linus Torvalds
Signed-off-by: Brandon Williams <redacted> --- git-submodule.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-submodule.sh b/git-submodule.sh
index 02b85dceb..f35345775 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh@@ -1127,7 +1127,7 @@ cmd_sync() ;; esac - if git config "submodule.$name.url" >/dev/null 2>/dev/null + if git submodule--helper is-active "$sm_path" then displaypath=$(git submodule--helper relative-path "$prefix$sm_path" "$wt_prefix") say "$(eval_gettext "Synchronizing submodule url for '\$displaypath'")"
--
2.11.0.483.g087da7b7c-goog