Code Monkey home page Code Monkey logo

Comments (4)

ku1ik avatar ku1ik commented on June 21, 2024

Honestly, I'm not sure. I expect that git uses some lock to prevent data corruption in such scenario but I don't know if that happens.

You'd need to do some research on that topic.

from git-dude.

schmurfy avatar schmurfy commented on June 21, 2024

Thanks for the answer, I did a quick google search but found nothing related.
I expect too that git uses some lock internally but having multiple actions acting on the same filesystem seems to be such an edge case that I am not sure it was even considered.

That said git is doing an impressive job to keep integrity, I never managed to corrupt any repositories until now.

from git-dude.

ku1ik avatar ku1ik commented on June 21, 2024

According to this comment http://stackoverflow.com/questions/750765/concurrency-in-a-git-repo-on-a-network-shared-folder/751026#751026 you should be rather safe.

This one http://git.661346.n2.nabble.com/concurrent-fetches-to-update-same-mirror-td5893458.html is particularly about concurrent git fetches and it seems nothing wrong should happen.

from git-dude.

schmurfy avatar schmurfy commented on June 21, 2024

Nice findings, thanks for reporting them :)
Looks like it is really safe after all, i will give it a try then.

from git-dude.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.