Merge branch 'nd/test-helpers'
[gitweb.git] / git-submodule.sh
index 72fa3912831e3e981012fca5f4d6a3309ac7606b..5a4dec050b2ebdbe8f9674666ddaabb4c0e193f2 100755 (executable)
@@ -124,9 +124,10 @@ 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
 }
 
 #