summaryrefslogtreecommitdiff
path: root/transport.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-05-16 22:58:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-17 21:19:44 (GMT)
commit306f22dbc8f43feeed735905276c48a96c63b9e5 (patch)
treecf0de85a759a09f07417f2e2e3d29553a22faceb /transport.h
parentaa40289ce9438890368aa1c667d1ed6e3184213c (diff)
downloadgit-306f22dbc8f43feeed735905276c48a96c63b9e5.zip
git-306f22dbc8f43feeed735905276c48a96c63b9e5.tar.gz
git-306f22dbc8f43feeed735905276c48a96c63b9e5.tar.bz2
transport: convert transport_push to take a struct refspec
Convert 'transport_push()' to take a 'struct refspec' as a parameter instead of an array of strings which represent refspecs. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.h')
-rw-r--r--transport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/transport.h b/transport.h
index e783cfa..e2c809a 100644
--- a/transport.h
+++ b/transport.h
@@ -197,7 +197,7 @@ void transport_set_verbosity(struct transport *transport, int verbosity,
#define REJECT_NEEDS_FORCE 0x10
int transport_push(struct transport *connection,
- int refspec_nr, const char **refspec, int flags,
+ struct refspec *rs, int flags,
unsigned int * reject_reasons);
/*