We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee3baed + 9cab93c commit 99bb98cCopy full SHA for 99bb98c
include/git2/ignore.h
@@ -59,8 +59,8 @@ GIT_EXTERN(int) git_ignore_clear_internal_rules(
59
* given file. This indicates if the file would be ignored regardless of
60
* whether the file is already in the index or committed to the repository.
61
*
62
- * One way to think of this is if you were to do "git add ." on the
63
- * directory containing the file, would it be added or not?
+ * One way to think of this is if you were to do "git check-ignore --no-index"
+ * on the given file, would it be shown or not?
64
65
* @param ignored boolean returning 0 if the file is not ignored, 1 if it is
66
* @param repo a repository object
0 commit comments