Skip to content

Commit 556e074

Browse files
committed
Move doc comment about GIT_BLOB_FILTER_OPTIONS_VERSION
Removes doc comment on `git_blob_filter_options.version`, moves information to `git_blob_filter_options` doc comment to remain consistent with other options structures' documentation. `git_blob_filter_options_init` still needed; should be added in another commit/PR (it's out of the scope of this PR, libgit2#5759), update this documentation again.
1 parent 0af0f7f commit 556e074

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/git2/blob.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,11 @@ typedef enum {
118118

119119
/**
120120
* The options used when applying filter options to a file.
121+
*
122+
* Initialize with `GIT_BLOB_FILTER_OPTIONS_VERSION`.
123+
*
121124
*/
122125
typedef struct {
123-
/** The struct version; set to `GIT_BLOB_FILTER_OPTIONS_VERSION`. */
124126
int version;
125127

126128
/** Flags to control the filtering process, see `git_blob_filter_flag_t` above */

0 commit comments

Comments
 (0)