add, reset: use DIFF_OPT_SET macro to set a diff flag
commitc9f348e926d300c4e254299b92e9bfe1678512d6
authorBrandon Williams <bmwill@google.com>
Mon, 30 Oct 2017 19:46:43 +0000 (30 12:46 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Oct 2017 04:33:08 +0000 (31 13:33 +0900)
treed3ce0cffceb2723bb06554e7db7ebe872426102d
parent2f899857a9f425cb59f8a15c2ea7a52100c51a23
add, reset: use DIFF_OPT_SET macro to set a diff flag

Instead of explicitly setting the 'DIFF_OPT_OVERRIDE_SUBMODULE_CONFIG'
flag, use the 'DIFF_OPT_SET' macro.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c
builtin/reset.c