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 /src/indexer.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 'src/indexer.c')
| -rw-r--r-- | src/indexer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indexer.c b/src/indexer.c index 1b0a20321..b4312e15a 100644 --- a/src/indexer.c +++ b/src/indexer.c @@ -142,7 +142,7 @@ int git_indexer_stream_new(git_indexer_stream **out, const char *prefix) { git_indexer_stream *idx; git_buf path = GIT_BUF_INIT; - static const char suff[] = "/objects/pack/pack-received"; + static const char suff[] = "/pack"; int error; idx = git__calloc(1, sizeof(git_indexer_stream)); |
