Commit 9da32a625564064908b61530318a1366ffff8217

Matt Burke 2015-09-08T10:18:54

Add custom_headers to git_push_options

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 444fe52..a39e5a4 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -585,6 +585,11 @@ typedef struct {
 	 * Callbacks to use for this push operation
 	 */
 	git_remote_callbacks callbacks;
+
+	/**
+	 * Extra headers for this push operation
+	 */
+	git_strarray custom_headers;
 } git_push_options;
 
 #define GIT_PUSH_OPTIONS_VERSION 1