Commit 0af0f7fdcf6e2fdc1139fef325ad01b77f3e86a3

Josh Stockin 2021-01-03T20:39:45

Add documentation for git_blob_filter_options.version Resolves #5756

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/include/git2/blob.h b/include/git2/blob.h
index 8e97726..866b8bd 100644
--- a/include/git2/blob.h
+++ b/include/git2/blob.h
@@ -120,6 +120,7 @@ typedef enum {
  * The options used when applying filter options to a file.
  */
 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 */