3 ms·
How often is File Locking needed? I thought that was one of the beautiful things about Git - merging de-conflicting is not only a thing, but easy to do...
by jwcrux 10y ago
How often is File Locking needed? I thought that was one of the beautiful things about Git - merging de-conflicting is not only a thing, but easy to do...
- iBotPeaches 10y agoIt looks like its more intended for asset files like PSDs and more where Git conflict management isn't as helpful.
- sytse 10y agoExactly, it is for files that can't be merged because they are binary instead of text based.
- sdesol 10y agoUnless you've worked in Enterprise, you'll be surprised by what is important. And this is actually an important feature, in my opinion. Enterprise is all about reducing risk and that's because, a screw up can bring down an entire company. There is a reason why they get ISO certified among other things. In the post, they talk about using locking to signal intent to change, which is also very important in enterprise. In enterprise, you have domain experts and they know if you muck around with a certain variable setting and if the value isn't correct or is just off, it can make their job and others a pain in the ass. So if you are a domain expert and if there is a trivial way to ensure people don't ruin your day, you'll use it. Locking is also useful for locking down certain parts of your software, which is something verification would normally insist on. Mistakes happen and in the open source world, it's a shrug off the shoulder, in enterprise, it translates into loss money.