summaryrefslogtreecommitdiff
path: root/include/git2/status.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-11-29 12:26:09 -0800
committerBen Straub <bs@github.com>2012-11-30 12:55:45 -0800
commitbde336ea51df071de922827ae322df7b01b059ce (patch)
tree1fbf4d0e9bf4dc9499abd83226e2452f6e8047c8 /include/git2/status.h
parentda820437368aae2088e992e7ce8944253693aa16 (diff)
downloadlibgit2-bde336ea51df071de922827ae322df7b01b059ce.tar.gz
Add version fields and init macros for public input structs.
Diffstat (limited to 'include/git2/status.h')
-rw-r--r--include/git2/status.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/status.h b/include/git2/status.h
index c6926f343..1211f1d9f 100644
--- a/include/git2/status.h
+++ b/include/git2/status.h
@@ -164,6 +164,9 @@ typedef struct {
git_strarray pathspec;
} git_status_options;
+#define GIT_STATUS_OPTIONS_VERSION 1
+#define GIT_STATUS_OPTIONS_INIT {GIT_STATUS_OPTIONS_VERSION, 0}
+
/**
* Gather file status information and run callbacks as requested.
*