summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/git2/blob.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/git2/blob.h b/include/git2/blob.h
index 866b8bdd7..29588ecf0 100644
--- a/include/git2/blob.h
+++ b/include/git2/blob.h
@@ -118,9 +118,11 @@ typedef enum {
/**
* The options used when applying filter options to a file.
+ *
+ * Initialize with `GIT_BLOB_FILTER_OPTIONS_VERSION`.
+ *
*/
typedef struct {
- /** The struct version; set to `GIT_BLOB_FILTER_OPTIONS_VERSION`. */
int version;
/** Flags to control the filtering process, see `git_blob_filter_flag_t` above */