8000 Merge pull request #6714 from DavHau/fixes · russell/libgit2@ef53f20 · GitHub
[go: up one dir, main page]

Skip to content

Commit ef53f20

Browse files
authored
Merge pull request libgit2#6714 from DavHau/fixes
docs: fix mistake in attr.h
2 parents ea00310 + d6454dd commit ef53f20

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/git2/attr.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,12 @@ GIT_EXTERN(git_attr_value_t) git_attr_value(const char *attr);
116116
*/
117117
#define GIT_ATTR_CHECK_FILE_THEN_INDEX 0
118118
#define GIT_ATTR_CHECK_INDEX_THEN_FILE 1
119-
#define GIT_ATTR_CHECK_INDEX_ONLY 2
119+
#define GIT_ATTR_CHECK_INDEX_ONLY 2
120120

121121
/**
122122
* Check attribute flags: controlling extended attribute behavior.
123123
*
124124
* Normally, attribute checks include looking in the /etc (or system
125-
* equivalent) directory for a `gitattributes` file. Passing this
126-
* flag will cause attribute checks to ignore that file.
127125
* equivalent) directory for a `gitattributes` file. Passing the
128126
* `GIT_ATTR_CHECK_NO_SYSTEM` flag will cause attribute checks to
129127
* ignore that file.

0 commit comments

Comments
 (0)
0