Thread (7 messages) flat view 7 messages, 4 authors, 2018-08-06

Re: concurrent access to multiple local git repos is error prone

From: Duy Nguyen <hidden>
Date: 2018-08-06 15:23:15

On Mon, Aug 6, 2018 at 9:38 AM Alexander Mills
[off-list ref] wrote:
Yeah this concurrency problem is real. Not only does it happen with
`git status` the same thing happens with `git rev-parse
--show-toplevel`.
"git rev-parse --show-toplevel" having this same problem helps. This
command should never make any update in the repository, not even
taking any lock and very basic access to the repository (I think it
just needs to resolve HEAD, it does not even access object database).
It's so "simple" [1] that makes me think this problem is something not
really related to git. Perhaps the process is terminated abnormally
because it hits some system limits?

[1] well the repo discovery steps are a bit messy  but I think it's
unlikely we have any racing issues there.
What happens is that I get no stdout when repos are accessed
concurrently (and no stderr).
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help