vendor/libgit2/src/libgit2/pack-objects.h in rugged-1.6.5 vs vendor/libgit2/src/libgit2/pack-objects.h in rugged-1.7.1
- old
+ new
@@ -11,11 +11,10 @@
#include "common.h"
#include "str.h"
#include "hash.h"
#include "oidmap.h"
-#include "netops.h"
#include "zstream.h"
#include "pool.h"
#include "indexer.h"
#include "git2/oid.h"
@@ -54,10 +53,12 @@
struct git_packbuilder {
git_repository *repo; /* associated repository */
git_odb *odb; /* associated object database */
+ git_oid_t oid_type;
+
git_hash_ctx ctx;
git_zstream zstream;
uint32_t nr_objects,
nr_deltified,
@@ -92,10 +93,12 @@
unsigned int nr_threads; /* nr of threads to use */
git_packbuilder_progress progress_cb;
void *progress_cb_payload;
- double last_progress_report_time; /* the time progress was last reported */
+
+ /* the time progress was last reported, in millisecond ticks */
+ uint64_t last_progress_report_time;
bool done;
};
int git_packbuilder__write_buf(git_str *buf, git_packbuilder *pb);