diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2014-03-25 20:23:26 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-25 15:09:24 -0700 |
commit | 208acbfb82f722fb22320c381e7da8c8fb2e37e8 (patch) | |
tree | 9a40378327e8ce6a303478547aa51fa35edac7ae /revision.h | |
parent | 79fcbf7e703ca5805ebd46b2c7e09d0703f1c1ff (diff) | |
download | git-208acbfb82f722fb22320c381e7da8c8fb2e37e8.tar.gz |
object.h: centralize object flag allocation
While the field "flags" is mainly used by the revision walker, it is
also used in many other places. Centralize the whole flag allocation to
one place for a better overview (and easier to move flags if we have
too).
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
-rw-r--r-- | revision.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h index 88967d6a24..531fb0de42 100644 --- a/revision.h +++ b/revision.h @@ -7,6 +7,7 @@ #include "commit.h" #include "diff.h" +/* Remember to update object flag allocation in object.h */ #define SEEN (1u<<0) #define UNINTERESTING (1u<<1) #define TREESAME (1u<<2) |