work around git segfault
Work around bug in git 2.37 that causes a segfault when when core.untrackedCache is set, and broke git-annex init. Depending on when git gets fixed and how widely the buggy versions are used, this could be reverted quite soon, or need to linger for a long time. It only makes git-annex init a tiny bit slower in a new repo. Sponsored-by: Max Thoursie on Patreon
This commit is contained in:
parent
008204b2f3
commit
a23fd7349f
3 changed files with 23 additions and 0 deletions
|
@ -0,0 +1,16 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 6"""
|
||||
date="2022-08-04T17:46:32Z"
|
||||
content="""
|
||||
Now 2 weeks since the segfault in git has been known, and they have not
|
||||
fixed it.
|
||||
|
||||
Now feeling that it's might be worth git-annex init avoiding the
|
||||
segfault, by making sure to do something that creates the index file before
|
||||
write-tree. So I don't have to worry about when this gets fixed in git,
|
||||
or the chances that a buggy release will start being widely used for a long
|
||||
time.
|
||||
|
||||
Yeah, done so.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue