@matheusbsbs / matheus-bagliano / commits / 24451c3103
Fork 0

[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>

Sergey Vlasov committed Sep 21, 2005 at 20:34 UTC 24451c31032d4ea3e7750b5f9c61e9c9f1657449
1 file changed +3 -3
fetch.c
+3 -3
@@ -54,9 +54,9 @@ static int process_tree(struct tree *tree)
54 return 0;
55 }
56
57 -#define COMPLETE 1U
58 -#define TO_SCAN 4U
59 -#define SEEN 16U
57 +#define COMPLETE (1U << 0)
58 +#define SEEN (1U << 1)
59 +#define TO_SCAN (1U << 2)
60
61 static struct commit_list *complete = NULL;
62