Commit a3ff28e9 by Edward Thomson

Merge pull request #3120 from libgit2/cmn/backends-prio

odb: reverse the default backend priorities
parents c5c5cdb1 b0d7f329
...@@ -21,9 +21,12 @@ ...@@ -21,9 +21,12 @@
#define GIT_ALTERNATES_FILE "info/alternates" #define GIT_ALTERNATES_FILE "info/alternates"
/* TODO: is this correct? */ /*
#define GIT_LOOSE_PRIORITY 2 * We work under the assumption that most objects for long-running
#define GIT_PACKED_PRIORITY 1 * operations will be packed
*/
#define GIT_LOOSE_PRIORITY 1
#define GIT_PACKED_PRIORITY 2
#define GIT_ALTERNATES_MAX_DEPTH 5 #define GIT_ALTERNATES_MAX_DEPTH 5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment