parse-options: add OPT_BITOP()
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 27 Jan 2019 00:35:25 +0000 (07:35 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Jan 2019 00:28:18 +0000 (16:28 -0800)
commitf62470c650e0db9536f32b9e1ecbe7d25f759031
treea2173e2a99bc2deec3126be06a440b0071bd9d96
parentbaa4adc66aefe2c3cc15b573b8a19dec786a1641
parse-options: add OPT_BITOP()

This is needed for diff_opt_parse() where we do

   value = (value & ~mask) | some_more;

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c
parse-options.h