diff options
author | Philippe Blain <levraiphilippeblain@gmail.com> | 2020-11-01 17:28:47 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-01 15:54:15 -0800 |
commit | 3af31e87868d46363359148db5243f46d49029e8 (patch) | |
tree | 942ac73d0963197969f917e35f33eafbd144c7eb /t/t4018/cpp-void-c-function | |
parent | blame: simplify 'setup_scoreboard' interface (diff) | |
download | tgif-3af31e87868d46363359148db5243f46d49029e8.tar.xz |
blame: simplify 'setup_blame_bloom_data' interface
The penultimate commit moved the initialization of 'sb.path' in
'builtin/blame.c::cmd_blame' before the call to
'blame.c::setup_blame_bloom_data'. Since 'cmd_blame' is the only caller
of 'setup_blame_bloom_data', it is now unnecessary for
'setup_blame_bloom_data' to receive 'path' as a separate argument, as
'sb.path' is already initialized.
Remove this argument from setup_blame_bloom_data's interface and use the
'path' field of the 'sb' 'struct blame_scoreboard' instead.
Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/cpp-void-c-function')
0 files changed, 0 insertions, 0 deletions