projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8b73e0
)
update comment
author
Joey Hess
<joeyh@joeyh.name>
Sat, 20 Jan 2024 15:25:22 +0000
(11:25 -0400)
committer
Joey 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
patch
|
blob
|
history
diff --git
a/Annex/Branch.hs
b/Annex/Branch.hs
index cbd54f47a94721986f43faa9598a297cef8052f7..8f927a78b4ffd3c6168087e8cadac140028dd6a3 100644
(file)
--- 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 []