|
|
Subscribe / Log in / New account

30 Years ago...

30 Years ago...

Posted Aug 31, 2021 6:12 UTC (Tue) by ssmith32 (subscriber, #72404)
In reply to: 30 Years ago... by rgmoore
Parent article: 30 Years ago...

And we'd all be using CVS, or, at best, subversion.. yikes.


to post comments

30 Years ago...

Posted Aug 31, 2021 9:08 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link] (8 responses)

Not necessarily. Back when Linus was designing git, there were several other distributed VCS that were _almost_ up to git's level.

In particular, Monotone was _almsot_ ready: https://en.wikipedia.org/wiki/Monotone_(software) - I was playing with it in early 2005 for personal projects, and it was awesome but buggy. Had the history turned out to be a bit different, we'd be using Monotone-based repos.

30 Years ago...

Posted Aug 31, 2021 9:50 UTC (Tue) by anselm (subscriber, #2796) [Link] (5 responses)

Had the history turned out to be a bit different, we'd be using Monotone-based repos.

Or Mercurial.

The main reason Git took off outside the Linux kernel community is that ordinary programmers thought that if they just used Linus Torvalds's uber-hacker tool, they would themselves become uber-hackers like Linus Torvalds. Git was, in effect, the very expensive DSLR camera of the VCS world, which ordinary people buy because they believe that using a “professional” camera will make them better photographers. (Nowadays of course there is ancillary infrastructure like Github which is convenient and useful enough for people to put up with Git, and which doesn't exist for other VCSs.)

30 Years ago...

Posted Aug 31, 2021 12:11 UTC (Tue) by rahulsundaram (subscriber, #21946) [Link]

> The main reason Git took off outside the Linux kernel community is that ordinary programmers thought that if they just used Linus Torvalds's uber-hacker tool, they would themselves become uber-hackers like Linus Torvalds

I doubt this was a serious reason. Git performed much better for a while (I haven't compared them recently) and large influential (at that time) software projects including Ruby on Rails and later Android etc switched to Git. GitHub took off making adoption much more easier.

30 Years ago...

Posted Aug 31, 2021 13:21 UTC (Tue) by kleptog (subscriber, #1183) [Link]

From what I remember, git was much less opinionated at the time. We had some hg repositories internally and I ended up using git-hg to interact with them because I found mercurial so frustrating. If you were working on a few small patches at the same time you needed something like the mq extension which gives you sort of 2nd-class commits, with a completely different API. As soon as you pushed something to a server the commit got marked immutable, so you could never setup a buildbot to try-build your patches.

I never understood the point of "immutable changesets". It feels like working with one hand tied behind your back.

Git is a "stupid content tracker" and thus made it possible to fit it to a workflow that worked for us, rather than what the tool wanted. For me git vs hg was like night and day. Also, the git index is IMO was a real innovation, that you could build commits piecewise.

Looks like hg is less strict these days, but once you've got everything to git the barrier to switch back is huge.

30 Years ago...

Posted Sep 1, 2021 16:45 UTC (Wed) by jezuch (subscriber, #52988) [Link]

FWIW I started using git, and not the other alternatives, because I'd heard of git and not the other alternatives :) After all, Linus Torvalds has quite a big profile.

30 Years ago...

Posted Sep 1, 2021 17:31 UTC (Wed) by halla (subscriber, #14185) [Link]

"The main reason Git took off outside the Linux kernel community is that ordinary programmers thought that if they just used Linus Torvalds's uber-hacker tool, they would themselves become uber-hackers like Linus Torvalds."

No, that was not the case.

30 Years ago...

Posted Sep 2, 2021 7:49 UTC (Thu) by gioele (subscriber, #61675) [Link]

> The main reason Git took off outside the Linux kernel community is that ordinary programmers thought that if they just used Linus Torvalds's uber-hacker tool, they would themselves become uber-hackers like Linus Torvalds.

My recollection of the events (I was in the bzr camp) was that people switched from hg/monotone/arch/bzr to Git because

1) Git was blazing faster (milliseconds vs seconds for `$VCS status` = it can be integrated in PS1)
2) Git was less opinionated (just use whichever branch workflow you want)
3) Git was more tolerant of errors (git rebase).

Point 3 was especially important for me. Git rebase gave you the ability to polish your final results, instead of forcing you to show "how the sausage was made".

30 Years ago...

Posted Aug 31, 2021 14:46 UTC (Tue) by mathstuf (subscriber, #69389) [Link] (1 responses)

Was it though? I remember trying to clone libpurple back in 2010 and it taking an *hour* to sync from nothing to a "let me work" state. It wasn't network connectivity either. Later I found a sqlite database "seed" that allowed the syncing algorithm to have a headstart, but if it was "almost" ready in 2005, I shudder to think on where it was headed.

Also, wasn't Monotone breaking repository formats regularly? (IIRC, 2005-era Git works on new repositories except for the packref format and new hash algorithms, both of which can be ignored if one wants to use ancient software to clone modern repos (of course you'll probably then have issues with TLS algorithm negotiations, but that's everyone).

30 Years ago...

Posted Aug 31, 2021 16:50 UTC (Tue) by Cyberax (✭ supporter ✭, #52523) [Link]

Monotone used file-level SHA-1 IDs, so it had way more overhead than git. Each file required a separate operation to sync. It also used SHA-1 for the whole repo for a version, just like git.

There were some obvious optimizations that were missed, but the development of Monotone more-or-less died after git.

It also turned out that an SQL database for VCS data storage was not a good idea in general, because of all the overhead it brings compared to plain files.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds