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>
This commit is contained in:
committed by
Junio C Hamano
parent
c714e45f87
commit
f6a4e61fbb
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user