diff options
author | Stefan Beller <sbeller@google.com> | 2016-07-14 14:49:47 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-14 15:50:41 -0700 |
commit | f6a4e61fbb647928d615a0befaec163a5d2bf4af (patch) | |
tree | e7a2625a11ec28300e33e3ceeae7ddaca3665944 /transport.c | |
parent | c714e45f87301562b940e3621431ed7f7fbd16e5 (diff) | |
download | git-f6a4e61fbb647928d615a0befaec163a5d2bf4af.tar.gz |
push: accept push options
This implements everything that is required on the client side to make use
of push options from the porcelain push command.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.c')
-rw-r--r-- | transport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/transport.c b/transport.c index 095e61f0ad..0298be17b5 100644 --- a/transport.c +++ b/transport.c @@ -510,6 +510,7 @@ static int git_transport_push(struct transport *transport, struct ref *remote_re args.dry_run = !!(flags & TRANSPORT_PUSH_DRY_RUN); args.porcelain = !!(flags & TRANSPORT_PUSH_PORCELAIN); args.atomic = !!(flags & TRANSPORT_PUSH_ATOMIC); + args.push_options = transport->push_options; args.url = transport->url; if (flags & TRANSPORT_PUSH_CERT_ALWAYS) |