]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-submodule.sh
submodule: stop sanitizing config options
[thirdparty/git.git] / git-submodule.sh
index 91f5856df8c2cb07c6d2849acfe9f107991e3763..b1c056c71567522e7b1bdb94bacf10f70743e024 100755 (executable)
@@ -197,9 +197,9 @@ isnumber()
 # of the settings from GIT_CONFIG_PARAMETERS.
 sanitize_submodule_env()
 {
-       sanitized_config=$(git submodule--helper sanitize-config)
+       save_config=$GIT_CONFIG_PARAMETERS
        clear_local_git_env
-       GIT_CONFIG_PARAMETERS=$sanitized_config
+       GIT_CONFIG_PARAMETERS=$save_config
        export GIT_CONFIG_PARAMETERS
 }