diff options
author | Brandon Williams <bmwill@google.com> | 2018-05-17 00:58:17 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-17 23:19:44 +0200 |
commit | 306f22dbc8f43feeed735905276c48a96c63b9e5 (patch) | |
tree | cf0de85a759a09f07417f2e2e3d29553a22faceb /transport.h | |
parent | push: convert to use struct refspec (diff) | |
download | git-306f22dbc8f43feeed735905276c48a96c63b9e5.tar.xz git-306f22dbc8f43feeed735905276c48a96c63b9e5.zip |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transport.h b/transport.h index e783cfa075..e2c809af4d 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); /* |