From: Sergey Vlasov Date: Wed, 21 Sep 2005 16:34:24 +0000 (+0400) Subject: [PATCH] fetch.c: Clean up object flag definitions X-Git-Tag: v0.99.7b~1^2~1 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=24451c31032d4ea3e7750b5f9c61e9c9f1657449;p=git.git [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 Signed-off-by: Junio C Hamano --- diff --git a/fetch.c b/fetch.c index 21b373d1..b92ca803 100644 --- a/fetch.c +++ b/fetch.c @@ -54,9 +54,9 @@ static int process_tree(struct tree *tree) return 0; } -#define COMPLETE 1U -#define TO_SCAN 4U -#define SEEN 16U +#define COMPLETE (1U << 0) +#define SEEN (1U << 1) +#define TO_SCAN (1U << 2) static struct commit_list *complete = NULL;