summaryrefslogtreecommitdiff
path: root/include/git2/index.h
diff options
context:
space:
mode:
authorJakob Pfender <jpfender@elegosoft.com>2011-03-24 13:48:22 +0100
committerVicent Marti <tanoku@gmail.com>2011-03-25 00:49:47 +0200
commit12f6d8e1453eacc1b4c6db0f6071541bcdf2e0e0 (patch)
treeac19eb36a630c61bc68473d7b5c70b08fa51f779 /include/git2/index.h
parent3bdc0d4c8c3a51e6b338c8166d98d5b82cb01a43 (diff)
downloadlibgit2-12f6d8e1453eacc1b4c6db0f6071541bcdf2e0e0.tar.gz
index.h: Correct documentation for git_index_open_inrepo()
Fix the doxygen comments for git_index_open_inrepo(). Previously they referred to a param index_path and omitted index (probably a c&p error).
Diffstat (limited to 'include/git2/index.h')
-rw-r--r--include/git2/index.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/index.h b/include/git2/index.h
index 605740c10..7bb0c9529 100644
--- a/include/git2/index.h
+++ b/include/git2/index.h
@@ -91,8 +91,8 @@ GIT_EXTERN(int) git_index_open_bare(git_index **index, const char *index_path);
* Open the Index inside the git repository pointed
* by 'repo'.
*
+ * @param index the pointer for the new index
* @param repo the git repo which owns the index
- * @param index_path the path to the index file in disk
* @return 0 on success; error code otherwise
*/
GIT_EXTERN(int) git_index_open_inrepo(git_index **index, git_repository *repo);