Commit b15b91f5df60e01ac5da3661c23e84304a6722ea

Vicent Martí 2012-06-25T10:32:05

Merge pull request #786 from schu/indexer indexer: start parsing input data immediately

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/indexer.c b/src/indexer.c
index 565d9ea..1b0a203 100644
--- a/src/indexer.c
+++ b/src/indexer.c
@@ -313,8 +313,6 @@ int git_indexer_stream_add(git_indexer_stream *idx, const void *data, size_t siz
 		mwf = &idx->pack->mwf;
 		if (git_mwindow_file_register(&idx->pack->mwf) < 0)
 			return -1;
-
-		return 0;
 	}
 
 	if (!idx->parsed_header) {