update comment
authorJoey Hess <joeyh@joeyh.name>
Sat, 20 Jan 2024 15:25:22 +0000 (11:25 -0400)
committerJoey Hess <joeyh@joeyh.name>
Sat, 20 Jan 2024 15:25:22 +0000 (11:25 -0400)
The segfault seems to be fixed with git 2.43, I'm not sure what the
affected range was.

Annex/Branch.hs

index cbd54f47a94721986f43faa9598a297cef8052f7..8f927a78b4ffd3c6168087e8cadac140028dd6a3 100644 (file)
@@ -136,7 +136,7 @@ getBranch = maybe (hasOrigin >>= go >>= use) return =<< branchsha
                        <$> branchsha
        go False = withIndex' True $ do
                -- Create the index file. This is not necessary,
-               -- except to avoid a bug in git that causes
+               -- except to avoid a bug in git 2.37 that causes
                -- git write-tree to segfault when the index file does not
                -- exist.
                inRepo $ flip Git.UpdateIndex.streamUpdateIndex []