hgext/git/gitlog.py
changeset 52627 4dadaf300fe0
parent 52624 cdbfe5e7592e
child 52628 3865451a5fab
--- a/hgext/git/gitlog.py	Fri Oct 04 10:51:26 2024 -0400
+++ b/hgext/git/gitlog.py	Fri Oct 04 10:51:44 2024 -0400
@@ -340,6 +340,7 @@
         n = self.synthetic(n)
         hn = gitutil.togitnode(n)
         # We've got a real commit!
+        index._index_repo_commit(self.gitrepo, self._db, hn, commit=True)
         files = [
             r[0]
             for r in self._db.execute(