diff options
author | Carlos Martín Nieto <cmn@elego.de> | 2012-06-28 09:33:08 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@elego.de> | 2012-06-28 10:24:03 +0200 |
commit | 371599576a82b43ab30fe66feadcfb3045e649ff (patch) | |
tree | e08bb3bff814fe9614d607c0c03a4e562ec3ebdb /examples/network/index-pack.c | |
parent | ed754a75e145352c02da62b5d56df5866d7eec26 (diff) | |
download | libgit2-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 'examples/network/index-pack.c')
-rw-r--r-- | examples/network/index-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/index-pack.c b/examples/network/index-pack.c index 5824fc555..ef5a35957 100644 --- a/examples/network/index-pack.c +++ b/examples/network/index-pack.c @@ -25,7 +25,7 @@ int index_pack(git_repository *repo, int argc, char **argv) return EXIT_FAILURE; } - if (git_indexer_stream_new(&idx, ".git") < 0) { + if (git_indexer_stream_new(&idx, ".") < 0) { puts("bad idx"); return -1; } |