summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
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