summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohseen Mukaddam <mohseenmukaddam6@gmail.com>2017-06-12 13:40:47 -0700
committermohseenrm <mohseenmukaddam6@gmail.com>2017-06-13 10:59:25 -0700
commit7f7dabdaac2b1f4b4a98cdd882a37017cedd830c (patch)
tree4b8e3ef36e071b0a04f13920c153a876686aaf36
parent2ca088bd2b253649943a112c40179d544e5083fa (diff)
downloadlibgit2-7f7dabdaac2b1f4b4a98cdd882a37017cedd830c.tar.gz
adding GIT_FILTER_VERSION to GIT_FILTER_INIT as part of convention
-rw-r--r--include/git2/sys/filter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/sys/filter.h b/include/git2/sys/filter.h
index d0e5d4d6f..8c6d7a536 100644
--- a/include/git2/sys/filter.h
+++ b/include/git2/sys/filter.h
@@ -271,7 +271,7 @@ struct git_filter {
};
#define GIT_FILTER_VERSION 1
-
+#define GIT_FILTER_INIT {GIT_FILTER_VERSION}
/**
* Register a filter under a given name with a given priority.
*