Merge branch 'sb/submodule-helper-list-signal-unmatch-via-exit-status'
[gitweb.git] / submodule.h
index ff4c4f33a5584d66e50f19739be4ca5055874c6c..2af9390998194c7d51a3e23b14723574d6696926 100644 (file)
@@ -62,4 +62,11 @@ int push_unpushed_submodules(unsigned char new_sha1[20], const char *remotes_nam
 void connect_work_tree_and_git_dir(const char *work_tree, const char *git_dir);
 int parallel_submodules(void);
 
+/*
+ * Prepare the "env_array" parameter of a "struct child_process" for executing
+ * a submodule by clearing any repo-specific envirionment variables, but
+ * retaining any config in the environment.
+ */
+void prepare_submodule_repo_env(struct argv_array *out);
+
 #endif