提交 478dbeec 编写于 作者: S Sergey Vlasov 提交者: Junio C Hamano

[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: NSergey Vlasov <vsu@altlinux.ru>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 a85988d2
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册