summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/odb.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/odb.c b/src/odb.c
index c3ae15a6a..5dccb6315 100644
--- a/src/odb.c
+++ b/src/odb.c
@@ -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