This patchset teaches range-diff and format-patch to pass `--notes` options down to the `git log` machinery. This should make the behaviour more configurable for users who either don't want notes to be displayed or want multiple notes refs to be displayed. Changes since v1: * Complete overhaul of approach Denton Liu (8): argv-array: add space after `while` rev-list-options.txt: remove reference to --show-notes t3206: remove spaces after redirect operators t3206: s/expected/expect/ t3206: demonstrate current notes behavior range-diff: output `## Notes ##` header range-diff: passthrough --[no-]notes to `git log` format-patch: pass notes configuration to range-diff Documentation/git-range-diff.txt | 6 +- Documentation/rev-list-options.txt | 2 +- argv-array.c | 2 +- builtin/log.c | 24 ++- builtin/range-diff.c | 6 +- log-tree.c | 2 +- range-diff.c | 21 ++- range-diff.h | 4 +- t/t3206-range-diff.sh | 264 +++++++++++++++++++++++++---- 9 files changed, 286 insertions(+), 45 deletions(-) -- 2.24.0.420.g9ac4901264