diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2023-03-28 15:58:51 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-03-28 16:36:45 +0200 |
commit | bab821646a74c446370fa8d01ca851f247df5033 (patch) | |
tree | 4b4f9949dc6c0aad1f90ac032d5914ec5c038839 /archive.c | |
parent | cocci: apply the "object-store.h" part of "the_repository.pending" (diff) | |
download | git-bab821646a74c446370fa8d01ca851f247df5033.tar.xz git-bab821646a74c446370fa8d01ca851f247df5033.zip |
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 'archive.c')
-rw-r--r-- | archive.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -59,7 +59,8 @@ static void format_subst(const struct commit *commit, strbuf_add(&fmt, b + 8, c - b - 8); strbuf_add(buf, src, b - src); - format_commit_message(commit, fmt.buf, buf, ctx); + repo_format_commit_message(the_repository, commit, fmt.buf, + buf, ctx); len -= c + 1 - src; src = c + 1; } |