diff options
author | Sergey Vlasov <vsu@altlinux.ru> | 2005-09-21 20:34:24 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-21 12:32:33 -0700 |
commit | 478dbeec9936e4556a9232f1fd908ffe2a96a723 (patch) | |
tree | e8d64e619ff82ca48441dc62c8af9d0b9b1dc0fa | |
parent | a85988d292152cd758026d542dff16cc9c6020a6 (diff) | |
download | git-478dbeec9936e4556a9232f1fd908ffe2a96a723.tar.gz git-478dbeec9936e4556a9232f1fd908ffe2a96a723.tar.xz |
[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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |