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>
This commit is contained in:

committed by
Junio C Hamano

parent
bc726bd075
commit
bab821646a
3
pretty.c
3
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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user