diff options
| author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-01-27 07:35:30 +0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-01-27 16:28:18 -0800 |
| commit | 2b393ef357d2fe466ba7097c9cc3ec92798ec05f (patch) | |
| tree | 031098f18c39bc5b148ba6feae5df090c67797d2 /diff.c | |
| parent | diff.h: keep forward struct declarations sorted (diff) | |
| download | git-2b393ef357d2fe466ba7097c9cc3ec92798ec05f.tar.gz git-2b393ef357d2fe466ba7097c9cc3ec92798ec05f.zip | |
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
