git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
INIan Norton <inorton@gmail.com>
Date
Feb 6, 2018, 20:26 UTC
Message-ID
<CAGUnuBHRH5NV31yDiBPdZouNicdfU9z9iPK1wcBNrEhoo+Xw8A@mail.gmail.com>
In-Reply-To
<20180206201047.GE104086@aiede.svl.corp.google.com>

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 which were quite large (1-2Gb history)

Afterwards, I had trouble doing "git pull -r" in my submodules to pull in newer changes.

On 6 February 2018 at 20:10, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 10 quoted lines
> 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
Previous: Jonathan Nieder
Message 5 of 5 in “Are concurrent git operations on the same repo safe?”
  1. Ian NortonFeb 5, 2018
  2. Duy NguyenFeb 6, 2018
  3. Stefan BellerFeb 6, 2018
  4. Jonathan NiederFeb 6, 2018
  5. Ian NortonFeb 6, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.