]> git.ipfire.org Git - thirdparty/git.git/commit - diff.h
diff: convert flags to be stored in bitfields
authorBrandon Williams <bmwill@google.com>
Tue, 31 Oct 2017 18:19:05 +0000 (11:19 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Nov 2017 02:50:02 +0000 (11:50 +0900)
commit02f2f56bc377c287c411947d0e1482aac888f8db
treee03063fbe94146e5adfe73bb072c5aeeb60a9685
parentc9f348e926d300c4e254299b92e9bfe1678512d6
diff: convert flags to be stored in bitfields

We cannot add many more flags to the diff machinery due to the
limitations of the number of flags that can be stored in a single
unsigned int.  In order to allow for more flags to be added to the diff
machinery in the future this patch converts the flags to be stored in
bitfields in 'struct diff_flags'.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
builtin/log.c
diff-lib.c
diff.c
diff.h
sequencer.c