]> git.ipfire.org Git - thirdparty/git.git/blobdiff - pack.h
Merge branch 'js/range-diff-one-side-only'
[thirdparty/git.git] / pack.h
diff --git a/pack.h b/pack.h
index 9ae640f4176f88836a21ff69416f5edef2bc5e9f..afdcf8f5c74df66eb3ea2dc10bf825d1b53ec17b 100644 (file)
--- a/pack.h
+++ b/pack.h
@@ -42,6 +42,8 @@ struct pack_idx_option {
        /* flag bits */
 #define WRITE_IDX_VERIFY 01 /* verify only, do not write the idx file */
 #define WRITE_IDX_STRICT 02
+#define WRITE_REV 04
+#define WRITE_REV_VERIFY 010
 
        uint32_t version;
        uint32_t off32_limit;
@@ -91,6 +93,8 @@ struct ref;
 
 void write_promisor_file(const char *promisor_name, struct ref **sought, int nr_sought);
 
+const char *write_rev_file(const char *rev_name, struct pack_idx_entry **objects, uint32_t nr_objects, const unsigned char *hash, unsigned flags);
+
 /*
  * The "hdr" output buffer should be at least this big, which will handle sizes
  * up to 2^67.