Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff_opt: track whether flags have been set explicitly
[gitweb.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index f0b3e7cfe34a99c0e5fea85fcd00ec54e9b578d8..7c248726ad259ea08b6f31a7f5d3bf27214d9115 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-3213,6
+3213,9
@@
void diff_setup_done(struct diff_options *options)
{
int count = 0;
+ if (options->set_default)
+ options->set_default(options);
+
if (options->output_format & DIFF_FORMAT_NAME)
count++;
if (options->output_format & DIFF_FORMAT_NAME_STATUS)