vendor/libgit2/include/git2/ignore.h in rugged-0.27.7 vs vendor/libgit2/include/git2/ignore.h in rugged-0.27.9
- old
+ new
@@ -57,11 +57,11 @@
*
* This function checks the ignore rules to see if they would apply to the
* given file. This indicates if the file would be ignored regardless of
* whether the file is already in the index or committed to the repository.
*
- * 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?
+ * One way to think of this is if you were to do "git add ." on the
+ * directory containing the file, would it be added or not?
*
* @param ignored boolean returning 0 if the file is not ignored, 1 if it is
* @param repo a repository object
* @param path the file to check ignores for, relative to the repo's workdir.
* @return 0 if ignore rules could be processed for the file (regardless