summaryrefslogtreecommitdiff
path: root/include/git2/indexer.h
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2012-06-28 03:03:43 -0700
committerVicent Martí <vicent@github.com>2012-06-28 03:03:43 -0700
commit1de44c24936ecf39915913ddf26f68f78c7963d3 (patch)
treee08bb3bff814fe9614d607c0c03a4e562ec3ebdb /include/git2/indexer.h
parented754a75e145352c02da62b5d56df5866d7eec26 (diff)
parent371599576a82b43ab30fe66feadcfb3045e649ff (diff)
downloadlibgit2-1de44c24936ecf39915913ddf26f68f78c7963d3.tar.gz
Merge pull request #791 from carlosmn/index-path
indexer: don't use '/objects/pack/' unconditionally
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