Skip to content

Commit 7f7dabd

Browse files
committed
adding GIT_FILTER_VERSION to GIT_FILTER_INIT as part of convention
1 parent 2ca088b commit 7f7dabd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/git2/sys/filter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ struct git_filter {
271271
};
272272

273273
#define GIT_FILTER_VERSION 1
274-
274+
#define GIT_FILTER_INIT {GIT_FILTER_VERSION}
275275
/**
276276
* Register a filter under a given name with a given priority.
277277
*

0 commit comments

Comments
 (0)