about summary refs log tree commit diff
path: root/third_party/git/midx.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/midx.h')
-rw-r--r--third_party/git/midx.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/third_party/git/midx.h b/third_party/git/midx.h
index e6fa356b5caa..f0ae656b5d76 100644
--- a/third_party/git/midx.h
+++ b/third_party/git/midx.h
@@ -37,8 +37,6 @@ struct multi_pack_index {
 	char object_dir[FLEX_ARRAY];
 };
 
-#define MIDX_PROGRESS     (1 << 0)
-
 struct multi_pack_index *load_multi_pack_index(const char *object_dir, int local);
 int prepare_midx_pack(struct repository *r, struct multi_pack_index *m, uint32_t pack_int_id);
 int bsearch_midx(const struct object_id *oid, struct multi_pack_index *m, uint32_t *result);
@@ -49,11 +47,11 @@ int fill_midx_entry(struct repository *r, const struct object_id *oid, struct pa
 int midx_contains_pack(struct multi_pack_index *m, const char *idx_or_pack_name);
 int prepare_multi_pack_index_one(struct repository *r, const char *object_dir, int local);
 
-int write_midx_file(const char *object_dir, unsigned flags);
+int write_midx_file(const char *object_dir);
 void clear_midx_file(struct repository *r);
-int verify_midx_file(struct repository *r, const char *object_dir, unsigned flags);
-int expire_midx_packs(struct repository *r, const char *object_dir, unsigned flags);
-int midx_repack(struct repository *r, const char *object_dir, size_t batch_size, unsigned flags);
+int verify_midx_file(struct repository *r, const char *object_dir);
+int expire_midx_packs(struct repository *r, const char *object_dir);
+int midx_repack(struct repository *r, const char *object_dir, size_t batch_size);
 
 void close_midx(struct multi_pack_index *m);