git users - please can you take a look at this question…
Can I break
git push origin master into stages involving separate commands?
Something like: generate a pack file, copy to the remote, then on the remote unpack the objects with one or more git commands?
I’m trying to investigate an issue with git and SAFE Drive which looks as if it may be to do with
git writing the pack file from one process and then reading the same file from different multiple processes.
On the SAFE Drive side, all looks fine, I’m responding to the reads with the expected content as far as I can see, (although it’s difficult to be certain without expending a lot of effort).
On the Git side I’ve compiled
git from source and inserted some debug output to see what is happening. It seems that if I break and pause SAFE Drive for a while between the end of the writes and the first read,
git is happy (for a while at least), but if I let it run the reads seem to fail immediately it starts to read and index the pack file, even though the reads are still happening OK on the SAFE Drive side. Hence my thought it may be due to the multiple processes that are involved, and that it might work if I can split this process into stages.