diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-03-06 11:16:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-06 20:41:21 +0100 |
commit | 95308d64ce43502507091ae5bbbdc41a918149ce (patch) | |
tree | d90428d37a403c48be3c36bd54fe3c1bed4b9a23 /builtin/unpack-objects.c | |
parent | Merge branch 'ys/bisect-object-id-missing-conversion-fix' into maint (diff) | |
download | git-95308d64ce43502507091ae5bbbdc41a918149ce.tar.xz git-95308d64ce43502507091ae5bbbdc41a918149ce.zip |
object.h: update flag allocation comment
Since the "flags" is shared, it's a good idea to keep track of who
uses what bit. When we need to use more flags in library code, we can
be sure it won't be re-used for another purpose by some caller.
While at there, fix the location of "5" (should be in a different
column than "4" two lines down)
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 'builtin/unpack-objects.c')
-rw-r--r-- | builtin/unpack-objects.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/unpack-objects.c b/builtin/unpack-objects.c index 62ea264c46..b2ad6fba2f 100644 --- a/builtin/unpack-objects.c +++ b/builtin/unpack-objects.c @@ -158,6 +158,7 @@ struct obj_info { struct object *obj; }; +/* Remember to update object flag allocation in object.h */ #define FLAG_OPEN (1u<<20) #define FLAG_WRITTEN (1u<<21) |