aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/log.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2023-03-28 15:58:49 +0200
committerJunio C Hamano <gitster@pobox.com>2023-03-28 07:36:45 -0700
commit085390328f5fe1dfba67039b1fd6cc51546a4e41 (patch)
treed6db2e038ed3a08daa9def671f8c790d7589b495 /builtin/log.c
parentcocci: apply the "commit.h" part of "the_repository.pending" (diff)
downloadgit-085390328f5fe1dfba67039b1fd6cc51546a4e41.tar.gz
git-085390328f5fe1dfba67039b1fd6cc51546a4e41.zip
cocci: apply the "diff.h" part of "the_repository.pending"
Apply the part of "the_repository.pending.cocci" pertaining to "diff.h". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/log.c')
-rw-r--r--builtin/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/log.c b/builtin/log.c
index f249aca049..b76a1c82d8 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -1371,7 +1371,7 @@ static void make_cover_letter(struct rev_info *rev, int use_separate_file,
.other_arg = &other_arg
};
- diff_setup(&opts);
+ repo_diff_setup(the_repository, &opts);
opts.file = rev->diffopt.file;
opts.use_color = rev->diffopt.use_color;
diff_setup_done(&opts);