diff: make diff_populate_filespec_options struct
commit1c37e86ab2834dfca311799e799568794bc474ce
authorJonathan Tan <jonathantanmy@google.com>
Tue, 7 Apr 2020 22:11:41 +0000 (7 15:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Apr 2020 23:09:29 +0000 (7 16:09 -0700)
tree591e447109aed7b2dc9d6cee2e7826c04de70803
parentdb7ed7418b3702ab2b2df755764c3f452917a890
diff: make diff_populate_filespec_options struct

The behavior of diff_populate_filespec() currently can be customized
through a bitflag, but a subsequent patch requires it to support a
non-boolean option. Replace the bitflag with an options struct.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
diffcore-break.c
diffcore-rename.c
diffcore.h
line-log.c