summaryrefslogtreecommitdiff
path: root/pretty.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2023-03-28 13:58:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-03-28 14:36:45 (GMT)
commitbab821646a74c446370fa8d01ca851f247df5033 (patch)
tree4b4f9949dc6c0aad1f90ac032d5914ec5c038839 /pretty.c
parentbc726bd075929aab6b3e09d4dd5c2b0726fd5350 (diff)
downloadgit-bab821646a74c446370fa8d01ca851f247df5033.zip
git-bab821646a74c446370fa8d01ca851f247df5033.tar.gz
git-bab821646a74c446370fa8d01ca851f247df5033.tar.bz2
cocci: apply the "pretty.h" part of "the_repository.pending"
Apply the part of "the_repository.pending.cocci" pertaining to "pretty.h". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pretty.c')
-rw-r--r--pretty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pretty.c b/pretty.c
index 7e1614f..076d1c3 100644
--- a/pretty.c
+++ b/pretty.c
@@ -2199,7 +2199,8 @@ void pretty_print_commit(struct pretty_print_context *pp,
int need_8bit_cte = pp->need_8bit_cte;
if (pp->fmt == CMIT_FMT_USERFORMAT) {
- format_commit_message(commit, user_format, sb, pp);
+ repo_format_commit_message(the_repository, commit,
+ user_format, sb, pp);
return;
}