diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/odb.c | 4 | ||||
-rw-r--r-- | src/odb.h | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -29,8 +29,8 @@ * We work under the assumption that most objects for long-running * operations will be packed */ -int git_odb__loose_priority = 1; -int git_odb__packed_priority = 2; +int git_odb__loose_priority = GIT_ODB_DEFAULT_LOOSE_PRIORITY; +int git_odb__packed_priority = GIT_ODB_DEFAULT_PACKED_PRIORITY; bool git_odb__strict_hash_verification = true; @@ -24,6 +24,9 @@ #define GIT_OBJECT_DIR_MODE 0777 #define GIT_OBJECT_FILE_MODE 0444 +#define GIT_ODB_DEFAULT_LOOSE_PRIORITY 1 +#define GIT_ODB_DEFAULT_PACKED_PRIORITY 2 + extern bool git_odb__strict_hash_verification; /* DO NOT EXPORT */ |