summaryrefslogtreecommitdiff
path: root/submodule.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-04-05 10:47:16 -0700
committerJunio C Hamano <gitster@pobox.com>2017-04-11 00:45:03 -0700
commit2a90556dde47f27e12a3f8adb1397fd05e5b6690 (patch)
tree97654f97664b31bd664cc8d7343da2f32f6005fd /submodule.h
parent54cc8aca60e474e637e9d71b57ee2c6f1fb197e6 (diff)
downloadgit-2a90556dde47f27e12a3f8adb1397fd05e5b6690.tar.gz
push: propagate push-options with --recurse-submodules
Teach push --recurse-submodules to propagate push-options recursively to the pushes performed in the submodules. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
-rw-r--r--submodule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/submodule.h b/submodule.h
index 8a8bc49dc9..0e26430fd3 100644
--- a/submodule.h
+++ b/submodule.h
@@ -92,6 +92,7 @@ extern int find_unpushed_submodules(struct sha1_array *commits,
struct string_list *needs_pushing);
extern int push_unpushed_submodules(struct sha1_array *commits,
const char *remotes_name,
+ const struct string_list *push_options,
int dry_run);
extern void connect_work_tree_and_git_dir(const char *work_tree, const char *git_dir);
extern int parallel_submodules(void);