mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Merge branch 'kh/format-patch-range-diff-notes'
"git format-patch --range-diff=... --notes=..." did not drive the underlying range-diff with correct --notes parameter, ending up comparing with different set of notes from its main patch output you would get from "git format-patch --notes=..." for a singleton patch. * kh/format-patch-range-diff-notes: format-patch: handle range-diff on notes correctly for single patches revision: add rdiff_log_arg to rev_info range-diff: rename other_arg to log_arg
This commit is contained in:
@@ -334,6 +334,7 @@ struct rev_info {
|
||||
/* range-diff */
|
||||
const char *rdiff1;
|
||||
const char *rdiff2;
|
||||
struct strvec rdiff_log_arg;
|
||||
int creation_factor;
|
||||
const char *rdiff_title;
|
||||
|
||||
@@ -410,6 +411,7 @@ struct rev_info {
|
||||
.expand_tabs_in_log = -1, \
|
||||
.commit_format = CMIT_FMT_DEFAULT, \
|
||||
.expand_tabs_in_log_default = 8, \
|
||||
.rdiff_log_arg = STRVEC_INIT, \
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user