-
Notifications
You must be signed in to change notification settings - Fork 811
Open
Labels
bugSomething isn't workingSomething isn't workingno-autocloseIssues/PRs to be ignored by stale botIssues/PRs to be ignored by stale bot
Milestone
Description
go-git
is not thread-safe. In some cases, concurrent reads may lead to repositories becoming corrupted or actions to yield invalid results (e.g. not finding an existing ref).
There is quite a bit of work until we can answer: What operations are concurrency safe and I can call from different Goroutines?
Current status
- Support read concurrency
- Off-set performance costs for using mutex (or add an opt-in/out flag)
-
Worktree.Add()
Please share in the comments any specific operations you may having issues to use concurrently.
matglas and runxiyu
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingno-autocloseIssues/PRs to be ignored by stale botIssues/PRs to be ignored by stale bot