]> git.ipfire.org Git - thirdparty/git.git/commit - diff.h
diff: prepare for additional submodule formats
authorJacob Keller <jacob.keller@gmail.com>
Wed, 31 Aug 2016 23:27:21 +0000 (16:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Sep 2016 01:07:09 +0000 (18:07 -0700)
commit61cfbc054d8341c3276efbf1380a2be0ee435dba
tree2cf7b9305fe98b6bdacd2692dc364a44473e2099
parent660e113ce11840f4bc4028bff89889e6122fe89a
diff: prepare for additional submodule formats

A future patch will add a new format for displaying the difference of
a submodule. Make it easier by changing how we store the current
selected format. Replace the DIFF_OPT flag with an enumeration, as each
format will be mutually exclusive.

Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
diff.h