Skip to content

Commit 95248be

Browse files
author
Edward Thomson
authored
Merge pull request libgit2#4127 from Uncommon/comment
Minor comment fix
2 parents a59545d + 19874e2 commit 95248be

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

include/git2/index.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -575,15 +575,16 @@ GIT_EXTERN(int) git_index_remove_bypath(git_index *index, const char *path);
575575
* This method will fail in bare index instances.
576576
*
577577
* The `pathspec` is a list of file names or shell glob patterns that will
578-
* matched against files in the repository's working directory. Each file
579-
* that matches will be added to the index (either updating an existing
580-
* entry or adding a new entry). You can disable glob expansion and force
581-
* exact matching with the `GIT_INDEX_ADD_DISABLE_PATHSPEC_MATCH` flag.
578+
* be matched against files in the repository's working directory. Each
579+
* file that matches will be added to the index (either updating an
580+
* existing entry or adding a new entry). You can disable glob expansion
581+
* and force exact matching with the `GIT_INDEX_ADD_DISABLE_PATHSPEC_MATCH`
582+
* flag.
582583
*
583584
* Files that are ignored will be skipped (unlike `git_index_add_bypath`).
584585
* If a file is already tracked in the index, then it *will* be updated
585-
* even if it is ignored. Pass the `GIT_INDEX_ADD_FORCE` flag to
586-
* skip the checking of ignore rules.
586+
* even if it is ignored. Pass the `GIT_INDEX_ADD_FORCE` flag to skip
587+
* the checking of ignore rules.
587588
*
588589
* To emulate `git add -A` and generate an error if the pathspec contains
589590
* the exact path of an ignored file (when not using FORCE), add the

0 commit comments

Comments
 (0)