From 2114253eafc8f95c65b8948265b1dfaca0c5eea0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 20 Jan 2024 11:25:22 -0400 Subject: [PATCH] update comment The segfault seems to be fixed with git 2.43, I'm not sure what the affected range was. --- Annex/Branch.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annex/Branch.hs b/Annex/Branch.hs index cbd54f47a9..8f927a78b4 100644 --- a/Annex/Branch.hs +++ b/Annex/Branch.hs @@ -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 []