summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Catmull <dtcatmull@xactware.com>2017-02-16 08:40:49 -0700
committerDavid Catmull <dtcatmull@xactware.com>2017-02-16 08:40:49 -0700
commit19874e293491f3864c21234c9aada5bac2856663 (patch)
treee906948e042b96469fe736307f0c56a73fd3ff32
parenta59545de5e57769f858ed2657b9fb850675f227f (diff)
downloadlibgit2-19874e293491f3864c21234c9aada5bac2856663.tar.gz
Minor comment fix
-rw-r--r--include/git2/index.h13
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