diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-04-20 06:37:14 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-04-20 06:37:14 +0200 |
commit | 872e2cf00a570e9d83e40343579a7bb092307d53 (patch) | |
tree | 5ea827f2490dcff68f25e380213376ecb69acb36 /remote.h | |
parent | Merge branch 'bc/object-id' (diff) | |
parent | push: propagate remote and refspec with --recurse-submodules (diff) | |
download | git-872e2cf00a570e9d83e40343579a7bb092307d53.tar.xz git-872e2cf00a570e9d83e40343579a7bb092307d53.zip |
Merge branch 'bw/push-options-recursively-to-submodules'
"git push --recurse-submodules --push-option=<string>" learned to
propagate the push option recursively down to pushes in submodules.
* bw/push-options-recursively-to-submodules:
push: propagate remote and refspec with --recurse-submodules
submodule--helper: add push-check subcommand
remote: expose parse_push_refspec function
push: propagate push-options with --recurse-submodules
push: unmark a local variable as static
Diffstat (limited to 'remote.h')
-rw-r--r-- | remote.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -169,6 +169,7 @@ struct ref *ref_remove_duplicates(struct ref *ref_map); int valid_fetch_refspec(const char *refspec); struct refspec *parse_fetch_refspec(int nr_refspec, const char **refspec); +extern struct refspec *parse_push_refspec(int nr_refspec, const char **refspec); void free_refspec(int nr_refspec, struct refspec *refspec); |