hgext/git/index.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
# HG changeset patch # User Josef 'Jeff' Sipek <jef...@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 _______________________________________________ Mercurial-devel mailing list Mercurial-devel@lists.mercurial-scm.org https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel