refs: remove the gap in the REF_* constant values
authorMichael Haggerty <mhagger@alum.mit.edu>
Thu, 12 Feb 2015 11:12:13 +0000 (12:12 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Feb 2015 19:42:53 +0000 (11:42 -0800)
There is no reason to "reserve" a gap between the public and private
flags values.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
diff --git a/refs.c b/refs.c
index 5e6355c930b653cb5909cd56ba4d4e52ba7daf33..4de13833c8c5967fcb8a580ee7a1b57178beb0df 100644 (file)
--- a/refs.c
+++ b/refs.c
@@ -44,7 +44,8 @@ static unsigned char refname_disposition[256] = {
  * Used as a flag to ref_transaction_delete when a loose ref is being
  * pruned.
  */
-#define REF_ISPRUNING  0x0100
+#define REF_ISPRUNING  0x04
+
 /*
  * Try to read one refname component from the front of refname.
  * Return the length of the component found, or -1 if the component is