summaryrefslogtreecommitdiff
path: root/include/git2/indexer.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@elego.de>2012-06-28 09:33:08 +0200
committerCarlos Martín Nieto <cmn@elego.de>2012-06-28 10:24:03 +0200
commit371599576a82b43ab30fe66feadcfb3045e649ff (patch)
treee08bb3bff814fe9614d607c0c03a4e562ec3ebdb /include/git2/indexer.h
parented754a75e145352c02da62b5d56df5866d7eec26 (diff)
downloadlibgit2-371599576a82b43ab30fe66feadcfb3045e649ff.tar.gz
indexer: don't use '/objects/pack/' unconditionally
Not everyone who indexes a packfile wants to put it in the standard git repository location.
Diffstat (limited to 'include/git2/indexer.h')
-rw-r--r--include/git2/indexer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/indexer.h b/include/git2/indexer.h
index 626377701..d300ba01a 100644
--- a/include/git2/indexer.h
+++ b/include/git2/indexer.h
@@ -29,9 +29,9 @@ typedef struct git_indexer_stream git_indexer_stream;
* Create a new streaming indexer instance
*
* @param out where to store the indexer instance
- * @param path to the gitdir (metadata directory)
+ * @param path to the directory where the packfile should be stored
*/
-GIT_EXTERN(int) git_indexer_stream_new(git_indexer_stream **out, const char *gitdir);
+GIT_EXTERN(int) git_indexer_stream_new(git_indexer_stream **out, const char *path);
/**
* Add data to the indexer