[PATCH 11 of 14] git: minor wording tweak to a comment
Josef 'Jeff' Sipek
jeffpc at josefsipek.net
Thu Jan 2 18:58:33 UTC 2025
hgext/git/index.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
# HG changeset patch
# User Josef 'Jeff' Sipek <jeffpc at josefsipek.net>
# Date 1728051960 14400
# Fri Oct 04 10:26:00 2024 -0400
# Node ID f3dc4894194fdfdafcb28da5b8306cbd6c276f17
# Parent 4bee81ed4c627e8757ef37ffcb5daaa14c2ef762
git: minor wording tweak to a comment
diff --git a/hgext/git/index.py b/hgext/git/index.py
--- a/hgext/git/index.py
+++ b/hgext/git/index.py
@@ -278,9 +278,9 @@ def _index_repo(
# No commit to be found, so we don't care for hg's purposes.
continue
possible_heads.add(start.id)
- # Optimization: if the list of heads hasn't changed, don't
- # reindex, the changelog. This doesn't matter on small
- # repositories, but on even moderately deep histories (eg cpython)
+ # Optimization: if the list of refs hasn't changed, don't
+ # reindex the changelog. This doesn't matter on small
+ # repositories, but on even moderately deep histories (e.g., cpython)
# this is a very important performance win.
#
# TODO: we should figure out how to incrementally index history
More information about the Mercurial-devel
mailing list