summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-01-27 07:35:30 +0700
committerJunio C Hamano <gitster@pobox.com>2019-01-27 16:28:18 -0800
commit2b393ef357d2fe466ba7097c9cc3ec92798ec05f (patch)
tree031098f18c39bc5b148ba6feae5df090c67797d2 /diff.c
parent4a1b13a3972efb0cf90143ebba88e309af2f41be (diff)
diff.h: avoid bit fields in struct diff_flags
Bitfield addresses cannot be passed around in a pointer. This makes it hard to use parse-options to set/unset them. Turn this struct to normal integers. This of course increases the size of this struct multiple times, but since we only have a handful of diff_options variables around, memory consumption is not at all a concern. 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 'diff.c')
0 files changed, 0 insertions, 0 deletions