diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-08-03 15:10:24 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-03 15:10:24 -0700 |
commit | cf27c7996e986395a05c0056684923195295fd14 (patch) | |
tree | 91c7d576445ca71e9eba9d11bfaddd353a326ab5 /send-pack.h | |
parent | 4067a45438282fe967779fcbc5c3513d2cbb5913 (diff) | |
parent | 3ac870300a7bb430341388a8f2ec465328986617 (diff) | |
download | git-cf27c7996e986395a05c0056684923195295fd14.tar.gz |
Merge branch 'sb/push-options'
"git push" learned to accept and pass extra options to the
receiving end so that hooks can read and react to them.
* sb/push-options:
add a test for push options
push: accept push options
receive-pack: implement advertising and receiving push options
push options: {pre,post}-receive hook learns about push options
Diffstat (limited to 'send-pack.h')
-rw-r--r-- | send-pack.h | 3 |
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; |