summaryrefslogtreecommitdiffstats
path: root/builtin/shortlog.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2023-03-28 15:58:57 +0200
committerJunio C Hamano <gitster@pobox.com>2023-03-28 16:36:46 +0200
commitc7c33f50bd1bb168a8c69157a0735ded84084f20 (patch)
treebcde39f1f320288c3354ee2962bb4fbdb74fb277 /builtin/shortlog.c
parentcocci: apply the "revision.h" part of "the_repository.pending" (diff)
downloadgit-c7c33f50bd1bb168a8c69157a0735ded84084f20.tar.xz
git-c7c33f50bd1bb168a8c69157a0735ded84084f20.zip
post-cocci: adjust comments for recent repo_* migration
In preceding commits we changed many calls to macros that were providing a "the_repository" argument to invoke corresponding repo_*() function instead. Let's follow-up and adjust references to those in comments, which coccinelle didn't (and inherently can't) catch. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/shortlog.c')
-rw-r--r--builtin/shortlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/shortlog.c b/builtin/shortlog.c
index 62f91b8b93..f287a6acd0 100644
--- a/builtin/shortlog.c
+++ b/builtin/shortlog.c
@@ -176,7 +176,7 @@ static void insert_records_from_trailers(struct shortlog *log,
return;
/*
- * Using format_commit_message("%B") would be simpler here, but
+ * Using repo_format_commit_message("%B") would be simpler here, but
* this saves us copying the message.
*/
commit_buffer = repo_logmsg_reencode(the_repository, commit, NULL,