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:
authorStefan Beller <sbeller@google.com>2016-07-15 00:49:47 +0300
committerJunio C Hamano <gitster@pobox.com>2016-07-15 01:50:41 +0300
commitf6a4e61fbb647928d615a0befaec163a5d2bf4af (patch)
treee7a2625a11ec28300e33e3ceeae7ddaca3665944 /send-pack.h
parentc714e45f87301562b940e3621431ed7f7fbd16e5 (diff)
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 'send-pack.h')
-rw-r--r--send-pack.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/send-pack.h b/send-pack.h
index 57f222abcc..67fc40f4ec 100644
--- a/send-pack.h
+++ b/send-pack.h
@@ -1,6 +1,8 @@
#ifndef SEND_PACK_H
#define SEND_PACK_H
+#include "string-list.h"
+
/* Possible values for push_cert field in send_pack_args. */
#define SEND_PACK_PUSH_CERT_NEVER 0
#define SEND_PACK_PUSH_CERT_IF_ASKED 1
@@ -21,6 +23,7 @@ struct send_pack_args {
push_cert:2,
stateless_rpc:1,
atomic:1;
+ const struct string_list *push_options;
};
struct option;