summaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2015-02-12 11:12:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-02-12 19:42:53 (GMT)
commit31e79f0a54e57454a9677eeb8b1108e4f907b8b9 (patch)
tree22fa5bd39e999778e4a23b56db60afba5d300b3e /refs.c
parent581d4e0cdbe9526c122b9d0835f951e478f82448 (diff)
downloadgit-31e79f0a54e57454a9677eeb8b1108e4f907b8b9.zip
git-31e79f0a54e57454a9677eeb8b1108e4f907b8b9.tar.gz
git-31e79f0a54e57454a9677eeb8b1108e4f907b8b9.tar.bz2
refs: remove the gap in the REF_* constant values
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>
Diffstat (limited to 'refs.c')
-rw-r--r--refs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/refs.c b/refs.c
index 5e6355c..4de1383 100644
--- 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