diff: have the diff-* builtins configure diff before initializing revisions
authorMarc Branchaud <marcnarc@xiplink.com>
Mon, 8 May 2017 16:03:37 +0000 (12:03 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 May 2017 03:24:35 +0000 (12:24 +0900)
This matches how the diff Porcelain works. It makes the plumbing commands
respect diff's configuration options, such as indentHeuristic, because
init_revisions() calls diff_setup() which fills in the diff_options struct.

Signed-off-by: Marc Branchaud <marcnarc@xiplink.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found