summaryrefslogtreecommitdiff
path: root/pretty.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2023-03-28 13:58:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-03-28 14:36:46 (GMT)
commitc7c33f50bd1bb168a8c69157a0735ded84084f20 (patch)
treebcde39f1f320288c3354ee2962bb4fbdb74fb277 /pretty.c
parent035c7de9e9ea11d26df5f9e4bb117f91ed11a9fd (diff)
downloadgit-c7c33f50bd1bb168a8c69157a0735ded84084f20.zip
git-c7c33f50bd1bb168a8c69157a0735ded84084f20.tar.gz
git-c7c33f50bd1bb168a8c69157a0735ded84084f20.tar.bz2
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 'pretty.c')
-rw-r--r--pretty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretty.c b/pretty.c
index 076d1c3..23ac06b 100644
--- a/pretty.c
+++ b/pretty.c
@@ -719,7 +719,7 @@ const char *repo_logmsg_reencode(struct repository *r,
* Otherwise, we still want to munge the encoding header in the
* result, which will be done by modifying the buffer. If we
* are using a fresh copy, we can reuse it. But if we are using
- * the cached copy from get_commit_buffer, we need to duplicate it
+ * the cached copy from repo_get_commit_buffer, we need to duplicate it
* to avoid munging the cached copy.
*/
if (msg == get_cached_commit_buffer(r, commit, NULL))