Skip to content

Commit 31e79f0

Browse files
mhaggergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 581d4e0 commit 31e79f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

refs.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ static unsigned char refname_disposition[256] = {
4444
* Used as a flag to ref_transaction_delete when a loose ref is being
4545
* pruned.
4646
*/
47-
#define REF_ISPRUNING 0x0100
47+
#define REF_ISPRUNING 0x04
48+
4849
/*
4950
* Try to read one refname component from the front of refname.
5051
* Return the length of the component found, or -1 if the component is

0 commit comments

Comments
 (0)