diff options
author | Edward Thomson <ethomson@github.com> | 2017-02-16 22:30:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-16 22:30:33 +0000 |
commit | 95248be72fb9d685c59e6a5cd15582ddd3255e52 (patch) | |
tree | e906948e042b96469fe736307f0c56a73fd3ff32 | |
parent | a59545de5e57769f858ed2657b9fb850675f227f (diff) | |
parent | 19874e293491f3864c21234c9aada5bac2856663 (diff) | |
download | libgit2-95248be72fb9d685c59e6a5cd15582ddd3255e52.tar.gz |
Merge pull request #4127 from Uncommon/comment
Minor comment fix
-rw-r--r-- | include/git2/index.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/git2/index.h b/include/git2/index.h index e58b3287e..35af2e5bf 100644 --- a/include/git2/index.h +++ b/include/git2/index.h @@ -575,15 +575,16 @@ GIT_EXTERN(int) git_index_remove_bypath(git_index *index, const char *path); * This method will fail in bare index instances. * * The `pathspec` is a list of file names or shell glob patterns that will - * matched against files in the repository's working directory. Each file - * that matches will be added to the index (either updating an existing - * entry or adding a new entry). You can disable glob expansion and force - * exact matching with the `GIT_INDEX_ADD_DISABLE_PATHSPEC_MATCH` flag. + * be matched against files in the repository's working directory. Each + * file that matches will be added to the index (either updating an + * existing entry or adding a new entry). You can disable glob expansion + * and force exact matching with the `GIT_INDEX_ADD_DISABLE_PATHSPEC_MATCH` + * flag. * * Files that are ignored will be skipped (unlike `git_index_add_bypath`). * If a file is already tracked in the index, then it *will* be updated - * even if it is ignored. Pass the `GIT_INDEX_ADD_FORCE` flag to - * skip the checking of ignore rules. + * even if it is ignored. Pass the `GIT_INDEX_ADD_FORCE` flag to skip + * the checking of ignore rules. * * To emulate `git add -A` and generate an error if the pathspec contains * the exact path of an ignored file (when not using FORCE), add the |