Git made a few nice improvements when it came out. But it kinda sucks. Every BigTech company has a different solution because vanilla Git is insufficient. Almost all game devs use Perforce (which also kinda sucks) because Git is wildly insufficient.
Mercurial was basically the same as Git but with a slightly more sane interface. Git won because original Mercurial was Python which was slow. But mostly because GitHub. World would be a better place if MercurialHub had won!
Git can’t handle large repos. Can’t handle binary files (Git LFS is a hack). GitHub only recently added stacked PRs and it sucks. The D in DVCS is worthless for almost all projects not Linux.
Here’s one for you. Almost no old Git project can even be built because Git is incapable of storing the build environment necessary to build it. Toolchains belong in version control but Git can’t handle that so people instead use Docker and if you want to build a 10 year old project then lol good luck.
Git is also awful for non-technical people. It’s a version control system and yet it’s relatively easy for people to have gitastrophes and if not lose their work require a Git expert to come in and run arcane bullshit to recover their commit(s).
> Git made a few nice improvements when it came out.
That's an understatement. It was orders of magnitude better than Subversion at the time.
> Git can’t handle large repos.
I guess it depends on what your definition of "large" is, but I believe this is no longer the case.
> The D in DVCS is worthless for almost all projects not Linux.
Speak for yourself. Just being able to use git offline is a huge improvement over other VCSes, even if you're the sole developer. Yes, most people use git in a more centralized mode, pushing code and collaborating via a central server, but git's distributed features still shine through here and there. (Regardless, I'm not sure what point you're trying to make; git being a DVCS but not often used distributed doesn't really change anything.)
> Almost no old Git project can even be built because Git is incapable of storing the build environment necessary to build it. Toolchains belong in version control
I've certainly seen toolchains stored in version control (git or other VCSes), but that's pretty rare. I expect it was more common with smaller embedded systems (that is, architectures not well-supported by open source) where the toolchain was a custom hack of gcc, and having the right toolchain version from the chipmaker actually mattered. (Been there, done that, it was a pain in the ass.)
These days it's much less important to have the exact same toolchain, even for embedded systems, where ARM, RISC-V, Xtensa, etc. have started to dominate, and there are maintained, compatible, upstreamed, open-source toolchains for many things.
At any rate, you absolutely can put a toolchain in git if you want to. Yes, it's going to bloat the repo a bit, but if you need to, you can do it, and it's not that big a deal (source: have done it, many many years ago).
> Git is also awful for non-technical people.
Yes and no. Git's UX has improved a lot over the past 20 years. It's still not great, but a lot of the rough edges have been filed off, and there are lots of GUI tools and replacement CLI tools (like jj) that people can use instead.
Mercurial was basically the same as Git but with a slightly more sane interface. Git won because original Mercurial was Python which was slow. But mostly because GitHub. World would be a better place if MercurialHub had won!
Git can’t handle large repos. Can’t handle binary files (Git LFS is a hack). GitHub only recently added stacked PRs and it sucks. The D in DVCS is worthless for almost all projects not Linux.
Here’s one for you. Almost no old Git project can even be built because Git is incapable of storing the build environment necessary to build it. Toolchains belong in version control but Git can’t handle that so people instead use Docker and if you want to build a 10 year old project then lol good luck.
Git is also awful for non-technical people. It’s a version control system and yet it’s relatively easy for people to have gitastrophes and if not lose their work require a Git expert to come in and run arcane bullshit to recover their commit(s).
Replies (1)
That's an understatement. It was orders of magnitude better than Subversion at the time.
> Git can’t handle large repos.
I guess it depends on what your definition of "large" is, but I believe this is no longer the case.
> The D in DVCS is worthless for almost all projects not Linux.
Speak for yourself. Just being able to use git offline is a huge improvement over other VCSes, even if you're the sole developer. Yes, most people use git in a more centralized mode, pushing code and collaborating via a central server, but git's distributed features still shine through here and there. (Regardless, I'm not sure what point you're trying to make; git being a DVCS but not often used distributed doesn't really change anything.)
> Almost no old Git project can even be built because Git is incapable of storing the build environment necessary to build it. Toolchains belong in version control
I've certainly seen toolchains stored in version control (git or other VCSes), but that's pretty rare. I expect it was more common with smaller embedded systems (that is, architectures not well-supported by open source) where the toolchain was a custom hack of gcc, and having the right toolchain version from the chipmaker actually mattered. (Been there, done that, it was a pain in the ass.)
These days it's much less important to have the exact same toolchain, even for embedded systems, where ARM, RISC-V, Xtensa, etc. have started to dominate, and there are maintained, compatible, upstreamed, open-source toolchains for many things.
At any rate, you absolutely can put a toolchain in git if you want to. Yes, it's going to bloat the repo a bit, but if you need to, you can do it, and it's not that big a deal (source: have done it, many many years ago).
> Git is also awful for non-technical people.
Yes and no. Git's UX has improved a lot over the past 20 years. It's still not great, but a lot of the rough edges have been filed off, and there are lots of GUI tools and replacement CLI tools (like jj) that people can use instead.