diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-07-13 12:01:11 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-08-24 19:01:10 +0200 |
commit | bffa852f89268390d6bc3e6f99f5f0cccdc88f63 (patch) | |
tree | b83249451c776dc386856bd01e318acef801ba43 /include/git2/indexer.h | |
parent | c920e162325d0f9acba46a19c4619e6bfa17707e (diff) | |
download | libgit2-bffa852f89268390d6bc3e6f99f5f0cccdc88f63.tar.gz |
indexer: recognize and mark when all of the packfile has been downloaded
We can't always rely on the network telling us when the download is
finished. Recognize it from the indexer itself.
Diffstat (limited to 'include/git2/indexer.h')
-rw-r--r-- | include/git2/indexer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/git2/indexer.h b/include/git2/indexer.h index d300ba01a..92d1d9e3a 100644 --- a/include/git2/indexer.h +++ b/include/git2/indexer.h @@ -19,6 +19,8 @@ GIT_BEGIN_DECL typedef struct git_indexer_stats { unsigned int total; unsigned int processed; + unsigned int received; + unsigned int data_received; } git_indexer_stats; |