Live data from Hacker News

Git's initial commit

github.com

31–40 of 128 posts

Re: Git's initial commit

#31

I love checking out very early versions of projects. You often get to see the essence before the real world came in and ruined the beauty of it.

I know what you mean. The SystemD controversy motivated me to take a look at the initial version of NetBSD's init rc script, which was nicely simple.

Re: Git's initial commit

#32

Following the tradition of sports, I propose that commit id e83c5163316f89bfbde7d9ab23ca2e25604af290 be officially retired.

Done. Don't ask me how I did it, but you will never see that hash come up again naturally during your lifetime.

Re: Git's initial commit

#34
post #4

Great to see the original command set, and the title of course: "GIT - the stupid content tracker"

If I recall, Linus was highly pissed at the time he wrote GIT. Lots of his comments at the time were meant as a slam against the guy who was reverse-engineering the Bitkeeper protocol, which resulted in the license for Bitkeeper getting yanked for the kernel project. I wonder if Linus is still angry with Tridgell?

Re: Git's initial commit

#35

Interesting fact about Git is that it was self hosting in two weeks, IIRC.

How can something that isn't a programming language be self-hosting?

Overloading the term. The OP presumably meant that the source for git was under git source control.

Re: Git's initial commit

#37

Is there a reason there aren't any braces around single-line if statements? Is that a C thing? It seems kind of inviting to bugs to me.

Most C-inspired languages (most popular programming languages) allow this. The only ones I've used that don't are Go and Swift. And I find it a little annoying.

If you're worried about bugs, there are other things in C/C++ to criticize first ;)

Re: Git's initial commit

#38

Earlier quoted context omitted.

How can something that isn't a programming language be self-hosting?

Overloading the term. The OP presumably meant that the source for git was under git source control.

Yes, that's what I meant.

Re: Git's initial commit

#39

Is there a reason there aren't any braces around single-line if statements? Is that a C thing? It seems kind of inviting to bugs to me.

C has potentially ambiguous association on nested "else"s. The habit of too many braces is a safety.

Re: Git's initial commit

#40

Interesting fact about Git is that it was self hosting in two weeks, IIRC.

How can something that isn't a programming language be self-hosting?

Version control systems are self-hosting when they are used to manage the primary repository of their own source code. This shows confidence because if the program breaks, then it breaks its own configuration management, which could be a headache to unravel. For example if the repository format changes, then the change has to be managed so that the old versions remain accessible through the new version of the software. If this is not managed, and old compiled binaries of the version control system disappear from existence, then it may become impossible to recover the old sources.

Thus, successfully self-hosting a version control system is some measure of evidence that the developers know what they are doing and can manage the changes. (And thus they understand change management and we can trust them to be working on version control software.)

http://en.wikipedia.org/wiki/Self-hosting

"Other programs [than compilers] that are typically self-hosting include kernels, assemblers, command-line interpreters and revision control software.

Post reply on HN