diff -r cdbfe5e7592e -r 27a0bfe770eb hgext/git/index.py --- 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