Merge pull request #2788 from swisspol/fix_docs Fixed git_revert() documentation
diff --git a/include/git2/revert.h b/include/git2/revert.h
index 476148d..4e0ae9b 100644
--- a/include/git2/revert.h
+++ b/include/git2/revert.h
@@ -71,7 +71,7 @@ GIT_EXTERN(int) git_revert_commit(
const git_merge_options *merge_options);
/**
- * Reverts the given commit, producing changes in the working directory.
+ * Reverts the given commit, producing changes in the index and working directory.
*
* @param repo the repository to revert
* @param commit the commit to revert