8 ms·
If you've never had a git commit FAIL (eg https://github.com/okonet/lint-staged/issues/565 https://github.com/okonet/lint-staged/issues/565) you aren't very exp
by Supermancho 7y ago
If you've never had a git commit FAIL (eg https://github.com/okonet/lint-staged/issues/565 https://github.com/okonet/lint-staged/issues/565) you aren't very experienced with git. By your description, you've probably just used it casually a lot. You don't do anything complicated and conclude that git isn't complicated. Given the history of working with:
* Submodules
* Binaries
* Large Repositories/branches
* A disparate set of development platforms/clients
* Git auth/credentials
- eropple 7y agoThe largest git repo I touch has half a dozen submodules (some with their own, you have to do a recursive clone), about two thousand branches (historically, we prune them) and about two hundred thousand commits, and has committers on Windows, Mac, and Linux. It doesn't have binaries in it, 'cause git-lfs. But I don't remember the last time I had a problem with it other than PEBKAC rebases and the like.
- reificator 7y ago> * Submodules > * Binaries > * Large Repositories/branches > * A disparate set of development platforms/clients > * Git auth/credentials I have experience with all of these things and have not had a commit fail.
- bananabreakfast 7y agolol, gatekeep much?
- Supermancho 7y agoHe asked why people spend so much time trying to work with git abstractions then claimed "works for me". It's not gatekeeping, when replying to strawmen. Try to keep track.
- jshevek 7y agoI don't think you are applying the principle of charity when reading his words.
- alasdair_ 7y ago>If you've never had a git commit FAIL (eg https://github.com/okonet/lint-staged/issues/565 https://github.com/okonet/lint-staged/issues/565) you aren't very experienced with git. I follow Linux kernel posts on vger.kernel.org and I've yet to see Linus complain about a git commit failing. I guess he isn't very experienced either?
- deleted 7y ago[deleted]
- Supermancho 7y agoWhy would he "complain"? or say anything on that mailing list? More than that, it's still git version 1 right? Sigh.
- samatman 7y agoYou get to avoid the Valley of Despond when you, y'know, write the tool.
- tryauuum 7y agoYou could be very correct! I think Linus might not be an experienced "git for Windows" user
- slavik81 7y agoIn that example, the user has configured git to ask their linter if it's ok to commit, and the linter is telling git "no" because it's failing. The git portion of that is pretty straightforward, but whatever the linter is doing looks rather complex.
- jshevek 7y ago> If you've never had a git commit FAIL...you aren't very experienced with git. By your description, you've probably just used it casually a lot. You don't do anything complicated and conclude that git isn't complicated. You make unwarranted assumptions about another person's experience base simply because it supports your position to do so.