]> git.ipfire.org Git - thirdparty/git.git/commit - log-tree.c
range-diff: pass through --notes to `git log`
authorDenton Liu <liu.denton@gmail.com>
Wed, 20 Nov 2019 21:18:45 +0000 (13:18 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Nov 2019 00:29:52 +0000 (09:29 +0900)
commitbd361918868284c06a438b832dbc95e11266fd5b
treeb3a1e3d903000662a4c3f8f0d7d57a7d7bef77c7
parent9f726e1b879f6cc191cf18e0b81dbea45eaee60d
range-diff: pass through --notes to `git log`

When a commit being range-diff'd has a note attached to it, the note
will be compared as well. However, if a user has multiple notes refs or
if they want to suppress notes from being printed, there is currently no
way to do this.

Pass through `--[no-]notes[=<ref>]` to the `git log` call so that this
option is customizable.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-range-diff.txt
builtin/log.c
builtin/range-diff.c
log-tree.c
range-diff.c
range-diff.h
t/t3206-range-diff.sh