Commit 7f7dabdaac2b1f4b4a98cdd882a37017cedd830c

Mohseen Mukaddam 2017-06-12T13:40:47

adding GIT_FILTER_VERSION to GIT_FILTER_INIT as part of convention

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/sys/filter.h b/include/git2/sys/filter.h
index d0e5d4d..8c6d7a5 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.
  *