summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorMatt Burke <spraints@gmail.com>2015-09-10 08:34:35 -0400
committerMatt Burke <spraints@gmail.com>2015-09-10 08:34:35 -0400
commitc49126c87f1124d0928d68d9191535e5ef4ecd25 (patch)
tree4099f0fe7ae22cadaaac4149b422e04da5564357 /include/git2
parentc82c2ba60f63095a3b418424d858277f5800b914 (diff)
downloadlibgit2-c49126c87f1124d0928d68d9191535e5ef4ecd25.tar.gz
Accept custom headers for fetch too
Diffstat (limited to 'include/git2')
-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 9237ca255..c42d96710 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -547,6 +547,11 @@ typedef struct {
* The default is to auto-follow tags.
*/
git_remote_autotag_option_t download_tags;
+
+ /**
+ * Extra headers for this fetch operation
+ */
+ git_strarray custom_headers;
} git_fetch_options;
#define GIT_FETCH_OPTIONS_VERSION 1