Skip to content

Commit

Permalink
[PATCH] fetch.c: Clean up object flag definitions
Browse files Browse the repository at this point in the history
Remove holes left after deleting flags, and use shifts to emphasize
that flags are single bits.

Signed-off-by: Sergey Vlasov <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
sigprof authored and Junio C Hamano committed Sep 23, 2005
1 parent 2449696 commit 24451c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 24451c3

Please sign in to comment.