diff options
| author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-06-12 19:25:09 +0100 |
|---|---|---|
| committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-06-12 19:25:09 +0100 |
| commit | 2aeadb9c78df4b463ffb3293e242e19a7e0d17a9 (patch) | |
| tree | c81dc60b795f2de01600cbd63dbd16b8933f38d8 /src/indexer.c | |
| parent | 90490113af9cef092b36c5ee0231c11675ed9f51 (diff) | |
| download | libgit2-2aeadb9c78df4b463ffb3293e242e19a7e0d17a9.tar.gz | |
Actually do the mmap... unsurprisingly, this makes the indexer work on SFS
On RAM: the .idx and .pack files become links to a .lock and the original download respectively.
Assume some feature (such as record locking) supported by SFS but not JXFS or RAM: is required.
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 f0e0a6381..5542bfeba 100644 --- a/src/indexer.c +++ b/src/indexer.c @@ -363,11 +363,11 @@ int git_indexer_stream_add(git_indexer_stream *idx, const void *data, size_t siz if (error < 0) { idx->off = entry_start; error = store_delta(idx); + if (error == GIT_EBUFS) return 0; if (error < 0) return error; - continue; } |
