summaryrefslogtreecommitdiff
path: root/include/git2/repository.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-07-01 12:42:08 -0700
committerBen Straub <bs@github.com>2013-07-01 12:42:08 -0700
commit7c559c2528d4c2e8e3f682208330e61b1ff7764a (patch)
tree31282c25b67ec0c3790d093377c41f101343c082 /include/git2/repository.h
parentc61300eda94eedb53f072fedbf1bb52be21ca221 (diff)
parent0b170f4dcb7f9e47eb849035a505661dda2eb6f8 (diff)
downloadlibgit2-7c559c2528d4c2e8e3f682208330e61b1ff7764a.tar.gz
Merge pull request #1694 from AndrejMitrovic/FixupDocEnums
[trivial] Fix docs to use proper enum names
Diffstat (limited to 'include/git2/repository.h')
-rw-r--r--include/git2/repository.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h
index 2164cfac1..7cc4a1341 100644
--- a/include/git2/repository.h
+++ b/include/git2/repository.h
@@ -178,7 +178,7 @@ GIT_EXTERN(int) git_repository_init(
* when initializing a new repo. Details of individual values are:
*
* * BARE - Create a bare repository with no working directory.
- * * NO_REINIT - Return an EEXISTS error if the repo_path appears to
+ * * NO_REINIT - Return an GIT_EEXISTS error if the repo_path appears to
* already be an git repository.
* * NO_DOTGIT_DIR - Normally a "/.git/" will be appended to the repo
* path for non-bare repos (if it is not already there), but
@@ -601,7 +601,7 @@ GIT_EXTERN(int) git_repository_set_head_detached(
* If the HEAD is already detached and points to a Tag, the HEAD is
* updated into making it point to the peeled Commit, and 0 is returned.
*
- * If the HEAD is already detached and points to a non commitish, the HEAD is
+ * If the HEAD is already detached and points to a non commitish, the HEAD is
* unaltered, and -1 is returned.
*
* Otherwise, the HEAD will be detached and point to the peeled Commit.