Re: Are concurrent git operations on the same repo safe?

2018-02-06 Thread Ian Norton
Sure, my office is still devoid of power, i'll have to get back to you to be more precise but I was using a morally equivalent process to https://gitlab.com/inorton/git-multi-sync cd repo python -m gitmultisync --update-submodules where I had a superproject containing 5-6 submodules, some of

Re: Are concurrent git operations on the same repo safe?

2018-02-06 Thread Jonathan Nieder
Ian Norton wrote: > Specifically I'm trying to speed up "git > submodule update" by doing several at the same time. Can you say more about this? E.g. how can I reproduce your experience? Is there a script I can run? Thanks, Jonathan

Re: Are concurrent git operations on the same repo safe?

2018-02-06 Thread Stefan Beller
On Tue, Feb 6, 2018 at 2:16 AM, Duy Nguyen wrote: > On Tue, Feb 6, 2018 at 3:16 AM, Ian Norton wrote: >> Hi all, >> >> I'm generally used to the idea that if a thing is not marked as >> "thread-safe" then it isn't thread safe, but I thought I'd ask anyway >>

Re: Are concurrent git operations on the same repo safe?

2018-02-06 Thread Duy Nguyen
On Tue, Feb 6, 2018 at 3:16 AM, Ian Norton wrote: > Hi all, > > I'm generally used to the idea that if a thing is not marked as > "thread-safe" then it isn't thread safe, but I thought I'd ask anyway > to be sure. > > Is it safe for me to do several operations with git

Are concurrent git operations on the same repo safe?

2018-02-05 Thread Ian Norton
Hi all, I'm generally used to the idea that if a thing is not marked as "thread-safe" then it isn't thread safe, but I thought I'd ask anyway to be sure. Is it safe for me to do several operations with git concurrently on the same local repo? Specifically I'm trying to speed up "git submodule