summaryrefslogtreecommitdiffstats
path: root/range-diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-09-29 18:04:15 +0200
committerJunio C Hamano <gitster@pobox.com>2023-09-29 18:04:15 +0200
commit5cd3f68add3cf24c322f925a5ca05a278bc6c027 (patch)
tree2aeb289c520081aa9e8873808990f366fa468a5e /range-diff.c
parentMerge branch 'ds/stat-name-width-configuration' (diff)
parentrange-diff: treat notes like `log` (diff)
downloadgit-5cd3f68add3cf24c322f925a5ca05a278bc6c027.tar.xz
git-5cd3f68add3cf24c322f925a5ca05a278bc6c027.zip
Merge branch 'kh/range-diff-notes'
"git range-diff --notes=foo" compared "log --notes=foo --notes" of the two ranges, instead of using just the specified notes tree. * kh/range-diff-notes: range-diff: treat notes like `log`
Diffstat (limited to 'range-diff.c')
-rw-r--r--range-diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/range-diff.c b/range-diff.c
index ca5493984a..c45b6d849c 100644
--- a/range-diff.c
+++ b/range-diff.c
@@ -60,7 +60,7 @@ static int read_patches(const char *range, struct string_list *list,
"--output-indicator-context=#",
"--no-abbrev-commit",
"--pretty=medium",
- "--notes",
+ "--show-notes-by-default",
NULL);
strvec_push(&cp.args, range);
if (other_arg)