summaryrefslogtreecommitdiff
path: root/transport.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-05-16 22:58:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-17 21:19:44 (GMT)
commit60fba4bf1670e6eabd61b04ebf86efedff866a50 (patch)
tree3842f24ebf2123b8359ceedc9818377e83dbd085 /transport.c
parentafb1aed403de404c1e09fae5b8028f6b8f6982d3 (diff)
downloadgit-60fba4bf1670e6eabd61b04ebf86efedff866a50.zip
git-60fba4bf1670e6eabd61b04ebf86efedff866a50.tar.gz
git-60fba4bf1670e6eabd61b04ebf86efedff866a50.tar.bz2
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 e32bc32..7e0b9ab 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);