Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
for_each_packed_object: support iterating in pack-order
[gitweb.git]
/
cache.h
diff --git
a/cache.h
b/cache.h
index f438540f9b5e57dd5fe6e316f5174e377ed037e3..6d14702df21fcc34b7395e16941064f4ee795342 100644
(file)
--- a/
cache.h
+++ b/
cache.h
@@
-1633,6
+1633,11
@@
enum for_each_object_flags {
/* Only iterate over packs obtained from the promisor remote. */
FOR_EACH_OBJECT_PROMISOR_ONLY = (1<<1),
+
+ /*
+ * Visit objects within a pack in packfile order rather than .idx order
+ */
+ FOR_EACH_OBJECT_PACK_ORDER = (1<<2),
};
/*