summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Burke <spraints@gmail.com>2015-09-08 10:18:54 -0400
committerMatt Burke <spraints@gmail.com>2015-09-08 14:02:25 -0400
commit9da32a625564064908b61530318a1366ffff8217 (patch)
tree8107cb8c104b34560d1cc12866147bd20bc876a5
parent24f5b4e155f701c86ad6daecb24b4af83aa183d6 (diff)
downloadlibgit2-9da32a625564064908b61530318a1366ffff8217.tar.gz
Add custom_headers to git_push_options
-rw-r--r--include/git2/remote.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 444fe5276..a39e5a415 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