]> git.ipfire.org Git - thirdparty/git.git/blobdiff - tmp-objdir.c
Merge branch 'ab/pager-exit-log'
[thirdparty/git.git] / tmp-objdir.c
index 42ed4db5d3a54e1dbb2bd2fb56481da28411ca1f..b8d880e3626a9cdbc818cf69bda67fcd256194b1 100644 (file)
@@ -185,9 +185,11 @@ static int pack_copy_priority(const char *name)
                return 1;
        if (ends_with(name, ".pack"))
                return 2;
-       if (ends_with(name, ".idx"))
+       if (ends_with(name, ".rev"))
                return 3;
-       return 4;
+       if (ends_with(name, ".idx"))
+               return 4;
+       return 5;
 }
 
 static int pack_copy_cmp(const char *a, const char *b)