Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-05-17 01:58:23 +0300
committerJunio C Hamano <gitster@pobox.com>2018-05-18 00:19:44 +0300
commit60fba4bf1670e6eabd61b04ebf86efedff866a50 (patch)
tree3842f24ebf2123b8359ceedc9818377e83dbd085 /transport.c
parentafb1aed403de404c1e09fae5b8028f6b8f6982d3 (diff)
submodule: convert push_unpushed_submodules to take a struct refspec
Convert 'push_unpushed_submodules()' to take a 'struct refspec' as a parameter instead of an array of 'const char *'. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.c')
-rw-r--r--transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transport.c b/transport.c
index e32bc320cf..7e0b9abba3 100644
--- a/transport.c
+++ b/transport.c
@@ -1157,7 +1157,7 @@ int transport_push(struct transport *transport,
if (!push_unpushed_submodules(&commits,
transport->remote,
- rs->raw, rs->raw_nr,
+ rs,
transport->push_options,
pretend)) {
oid_array_clear(&commits);