mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 12:00:34 +00:00
Merge pull request #3120 from libgit2/cmn/backends-prio
odb: reverse the default backend priorities
This commit is contained in:
commit
a3ff28e9d1
@ -21,9 +21,12 @@
|
||||
|
||||
#define GIT_ALTERNATES_FILE "info/alternates"
|
||||
|
||||
/* TODO: is this correct? */
|
||||
#define GIT_LOOSE_PRIORITY 2
|
||||
#define GIT_PACKED_PRIORITY 1
|
||||
/*
|
||||
* We work under the assumption that most objects for long-running
|
||||
* operations will be packed
|
||||
*/
|
||||
#define GIT_LOOSE_PRIORITY 1
|
||||
#define GIT_PACKED_PRIORITY 2
|
||||
|
||||
#define GIT_ALTERNATES_MAX_DEPTH 5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user