diff options
author | Andrzej Hunt <ajrhunt@google.com> | 2021-03-21 16:58:35 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-21 14:39:10 -0700 |
commit | 0171dbcb428739e59440ccdf2d9470d8782f51be (patch) | |
tree | 290d7955a6370d2c65aaeec79cf2fac75b969464 /xdiff/xtypes.h | |
parent | init-db: silence template_dir leak when converting to absolute path (diff) | |
download | tgif-0171dbcb428739e59440ccdf2d9470d8782f51be.tar.xz |
parse-options: convert bitfield values to use binary shift
Because it's easier to read, but also likely to be easier to maintain.
I am making this change because I need to add a new flag in a later
commit.
Also add a trailing comma to the last enum entry to simplify addition of
new flags.
This change was originally suggested by Peff in:
https://public-inbox.org/git/YEZ%2FBWWbpfVwl6nO@coredump.intra.peff.net/
Signed-off-by: Andrzej Hunt <ajrhunt@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff/xtypes.h')
0 files changed, 0 insertions, 0 deletions