summaryrefslogtreecommitdiffstats
path: root/diff.h
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 /diff.h
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 'diff.h')
-rw-r--r--diff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.h b/diff.h
index 8b510eb579..0aa36e8126 100644
--- a/diff.h
+++ b/diff.h
@@ -614,7 +614,7 @@ void diff_warn_rename_limit(const char *varname, int needed, int degraded_cc);
#define DIFF_STATUS_FILTER_BROKEN 'B'
/*
- * This is different from find_unique_abbrev() in that
+ * This is different from repo_find_unique_abbrev() in that
* it stuffs the result with dots for alignment.
*/
const char *diff_aligned_abbrev(const struct object_id *sha1, int);