aboutsummaryrefslogtreecommitdiffstats
path: root/remote.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-04-19 21:37:14 -0700
committerJunio C Hamano <gitster@pobox.com>2017-04-19 21:37:14 -0700
commit872e2cf00a570e9d83e40343579a7bb092307d53 (patch)
tree5ea827f2490dcff68f25e380213376ecb69acb36 /remote.c
parentb1081e4004091947b6c6a806625addd1cbba61b7 (diff)
parent06bf4ad1db92c32af38e16d9b7f928edbd647780 (diff)
downloadgit-872e2cf00a570e9d83e40343579a7bb092307d53.tar.gz
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.c')
-rw-r--r--remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.c b/remote.c
index af72727d76..801137c72e 100644
--- a/remote.c
+++ b/remote.c
@@ -630,7 +630,7 @@ struct refspec *parse_fetch_refspec(int nr_refspec, const char **refspec)
return parse_refspec_internal(nr_refspec, refspec, 1, 0);
}
-static struct refspec *parse_push_refspec(int nr_refspec, const char **refspec)
+struct refspec *parse_push_refspec(int nr_refspec, const char **refspec)
{
return parse_refspec_internal(nr_refspec, refspec, 0, 0);
}