summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/repository.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h
index 32a2f6449..193ac9523 100644
--- a/include/git2/repository.h
+++ b/include/git2/repository.h
@@ -564,7 +564,7 @@ GIT_EXTERN(int) git_repository_set_head_detached(
*
* @param repo Repository pointer
* @return 0 on success, GIT_EORPHANEDHEAD when HEAD points to a non existing
- * branchor an error code
+ * branch or an error code
*/
GIT_EXTERN(int) git_repository_detach_head(
git_repository* repo);