diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-11-21 00:18:45 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-21 03:29:52 +0300 |
commit | bd361918868284c06a438b832dbc95e11266fd5b (patch) | |
tree | b3a1e3d903000662a4c3f8f0d7d57a7d7bef77c7 /range-diff.h | |
parent | 9f726e1b879f6cc191cf18e0b81dbea45eaee60d (diff) |
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>
Diffstat (limited to 'range-diff.h')
-rw-r--r-- | range-diff.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/range-diff.h b/range-diff.h index 08a50b6e98..7d918ab9ed 100644 --- a/range-diff.h +++ b/range-diff.h @@ -2,6 +2,7 @@ #define RANGE_DIFF_H #include "diff.h" +#include "argv-array.h" #define RANGE_DIFF_CREATION_FACTOR_DEFAULT 60 @@ -12,6 +13,7 @@ */ int show_range_diff(const char *range1, const char *range2, int creation_factor, int dual_color, - struct diff_options *diffopt); + struct diff_options *diffopt, + struct argv_array *other_arg); #endif |