summaryrefslogtreecommitdiff
path: root/src/pack-objects.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-05-06 13:09:00 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-05-13 15:52:13 +0200
commit3c337a5d3720f524387307bf443e7d7c6380a2e3 (patch)
treeb6db3bb972bb7fa68fb0b622a312bbe136b33d9a /src/pack-objects.h
parent8cec2b8ae9b1fdf4638cb405cbd8c17454c1c076 (diff)
downloadlibgit2-3c337a5d3720f524387307bf443e7d7c6380a2e3.tar.gz
packbuilder: report progress during deltificationcmn/pack-objects-report
This is useful to send to the client while we're performing the work. The reporting function has a force parameter which makes sure that we do send out the message of 100% completed, even if this comes before the next udpate window.
Diffstat (limited to 'src/pack-objects.h')
-rw-r--r--src/pack-objects.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pack-objects.h b/src/pack-objects.h
index 9af5c0b09..82dea81f5 100644
--- a/src/pack-objects.h
+++ b/src/pack-objects.h
@@ -65,6 +65,7 @@ struct git_packbuilder {
git_zstream zstream;
uint32_t nr_objects,
+ nr_deltified,
nr_alloc,
nr_written,
nr_remaining;