summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Stockin <josh@joshstock.in>2021-01-03 20:39:45 -0600
committerJosh Stockin <josh@joshstock.in>2021-01-03 20:39:45 -0600
commit0af0f7fdcf6e2fdc1139fef325ad01b77f3e86a3 (patch)
tree99d6855de8b36c5c0b0b8e6e8a74baf2eb469b2a
parentfe41e5823986aff01054b7db4b869b2896ea4c30 (diff)
downloadlibgit2-0af0f7fdcf6e2fdc1139fef325ad01b77f3e86a3.tar.gz
Add documentation for git_blob_filter_options.version
Resolves #5756
-rw-r--r--include/git2/blob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/blob.h b/include/git2/blob.h
index 8e977267d..866b8bdd7 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 */