]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin-show-branch.c
Shrink "struct object" a bit
[thirdparty/git.git] / builtin-show-branch.c
index 2895140915cb603e2c5f971d0356f2e48106bc0e..cf9c071a53c09476acaecb6bcbf95d4ff76dca79 100644 (file)
@@ -15,7 +15,7 @@ static const char **default_arg = NULL;
 #define UNINTERESTING  01
 
 #define REV_SHIFT       2
-#define MAX_REVS       29 /* should not exceed bits_per_int - REV_SHIFT */
+#define MAX_REVS       (FLAG_BITS - REV_SHIFT) /* should not exceed bits_per_int - REV_SHIFT */
 
 static struct commit *interesting(struct commit_list *list)
 {