Comments (4)
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.
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.
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.
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)
- Selective monitoring of git commits HOT 3
- KDE integration HOT 3
- Handle forced push properly HOT 4
- Running as a daemon (OS X) HOT 13
- npm package HOT 4
- Auto Merge config HOT 5
- duplicate notification at every interval HOT 9
- Fails handling fetch results other than new branch/tag/commit HOT 6
- Github links HOT 2
- asks for password at every interval HOT 4
- Remove need for Github's username and password HOT 6
- Decide on a license HOT 3
- Issue and other activity notifications HOT 1
- Add OS X Notification Center notification backend support HOT 7
- Breaks with parenthesis in the repo name HOT 2
- Running as daemon through cron (Ubuntu 15.10) HOT 5
- Not displaying notifications. HOT 2
- need to specify .git-dude dir HOT 3
- notifier for debian ? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-dude.