summaryrefslogtreecommitdiff
path: root/src/indexer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indexer.c')
-rw-r--r--src/indexer.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/indexer.c b/src/indexer.c
index 719f54e2..85ffb161 100644
--- a/src/indexer.c
+++ b/src/indexer.c
@@ -383,14 +383,6 @@ int git_indexer_stream_add(git_indexer_stream *idx, const void *data, size_t siz
stats->received++;
}
- /*
- * If we've received all of the objects and our packfile is
- * one hash beyond the end of the last object, all of the
- * packfile is here.
- */
- if (stats->received == idx->nr_objects && idx->pack->mwf.size >= idx->off + 20)
- stats->data_received = 1;
-
return 0;
on_error: