summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Vlasov <vsu@altlinux.ru>2005-09-21 16:34:24 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-09-23 04:52:11 (GMT)
commit24451c31032d4ea3e7750b5f9c61e9c9f1657449 (patch)
treef8c31fd7561d6d79886d6db99f3308d822b7ec1e
parent2449696bcd8b458ae604c35898ecab7271b97b40 (diff)
downloadgit-24451c31032d4ea3e7750b5f9c61e9c9f1657449.zip
git-24451c31032d4ea3e7750b5f9c61e9c9f1657449.tar.gz
git-24451c31032d4ea3e7750b5f9c61e9c9f1657449.tar.bz2
[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>
-rw-r--r--fetch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fetch.c b/fetch.c
index 21b373d..b92ca80 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;