summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorAndrzej Hunt <ajrhunt@google.com>2021-03-21 16:58:35 +0000
committerJunio C Hamano <gitster@pobox.com>2021-03-21 14:39:10 -0700
commit0171dbcb428739e59440ccdf2d9470d8782f51be (patch)
tree290d7955a6370d2c65aaeec79cf2fac75b969464 /builtin/commit.c
parent04fe4d75faa237813960f8dcd45a91bd445de235 (diff)
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions