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`
This commit is contained in:
Junio C Hamano
2023-09-29 09:04:15 -07:00
5 changed files with 41 additions and 1 deletions

View File

@ -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)