Merge branch 'es/format-patch-interdiff-cleanup'
"format-patch --range-diff=<prev> <origin>..HEAD" has been taught not to ignore <origin> when <prev> is a single version. * es/format-patch-interdiff-cleanup: format-patch: use 'origin' as start of current-series-range when known diff-lib: tighten show_interdiff()'s interface diff: move show_interdiff() from its own file to diff-lib
This commit is contained in:
@ -15,7 +15,6 @@
|
||||
#include "sequencer.h"
|
||||
#include "line-log.h"
|
||||
#include "help.h"
|
||||
#include "interdiff.h"
|
||||
#include "range-diff.h"
|
||||
|
||||
static struct decoration name_decoration = { "object names" };
|
||||
@ -800,7 +799,8 @@ void show_log(struct rev_info *opt)
|
||||
|
||||
next_commentary_block(opt, NULL);
|
||||
fprintf_ln(opt->diffopt.file, "%s", opt->idiff_title);
|
||||
show_interdiff(opt, 2);
|
||||
show_interdiff(opt->idiff_oid1, opt->idiff_oid2, 2,
|
||||
&opt->diffopt);
|
||||
|
||||
memcpy(&diff_queued_diff, &dq, sizeof(diff_queued_diff));
|
||||
}
|
||||
|
Reference in New Issue
Block a user