changeset 52625:27a0bfe770eb

git: minor wording tweak to a comment
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Fri, 04 Oct 2024 10:26:00 -0400
parents cdbfe5e7592e
children 42f00965e50b
files hgext/git/index.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/git/index.py	Sun Mar 10 14:30:32 2024 -0400
+++ b/hgext/git/index.py	Fri Oct 04 10:26:00 2024 -0400
@@ -274,9 +274,9 @@
             # 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