[PATCH] fetch.c: Clean up object flag definitions
Remove holes left after deleting flags, and use shifts to emphasize that flags are single bits. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
2449696bcd
commit
24451c3103
6
fetch.c
6
fetch.c
@ -54,9 +54,9 @@ static int process_tree(struct tree *tree)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define COMPLETE 1U
|
#define COMPLETE (1U << 0)
|
||||||
#define TO_SCAN 4U
|
#define SEEN (1U << 1)
|
||||||
#define SEEN 16U
|
#define TO_SCAN (1U << 2)
|
||||||
|
|
||||||
static struct commit_list *complete = NULL;
|
static struct commit_list *complete = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user