summaryrefslogtreecommitdiff
path: root/include/git2/repository.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/repository.h')
-rw-r--r--include/git2/repository.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h
index 0d82b9810..216f59b51 100644
--- a/include/git2/repository.h
+++ b/include/git2/repository.h
@@ -250,7 +250,7 @@ typedef struct {
} git_repository_init_options;
#define GIT_REPOSITORY_INIT_OPTIONS_VERSION 1
-#define GIT_REPOSITORY_INIT_OPTIONS_INIT {GIT_REPOSITORY_INIT_OPTIONS_VERSION, 0}
+#define GIT_REPOSITORY_INIT_OPTIONS_INIT {GIT_REPOSITORY_INIT_OPTIONS_VERSION}
/**
* Create a new Git repository in the given folder with extended controls.