Browse Source

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>
maint
Michael Haggerty 10 years ago committed by Junio C Hamano
parent
commit
31e79f0a54
  1. 3
      refs.c

3
refs.c

@ -44,7 +44,8 @@ static unsigned char refname_disposition[256] = { @@ -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

Loading…
Cancel
Save