git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Trivia: When did git self-host?

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Feb 27, 2007, 01:58 UTC
Message-ID
<Pine.LNX.4.64.0702261722310.12485@woody.linux-foundation.org>
In-Reply-To
<Pine.LNX.4.64.0702261650120.12485@woody.linux-foundation.org>
On Mon, 26 Feb 2007, Linus Torvalds wrote:
Show 13 quoted lines
> 
> The first commit was already self-hosted. It was done manually (write-tree 
> etc by hand), but yes, the first commit really is:
> 
> 	Thu Apr 7 15:13:13 2005 -0700
> 
> and the second one (add copyright notices) was done a few minutes later.
> 
> So git was self-hosting since April 7, 2005.
> 
> Now, exactly when I started git development (ie how long it took before it 
> got to that self-hosting stage), I can't remember. I'd say about two 
> weeks, probably.
Actually, it must have been less than that.

The first version of git was just ~1300 lines of code, and I have reason to believe that I started it at or around April 3rd. The reason: I made the last BK release on that day, and I also remember aiming for having something usable in two weeks.

And hosting git itself was not that important for me - hosting the kernel was. And the first kernel commit was April 16 (with the first merges being a few days later). Which meshes with my "two week goal" recollection.

Not that I'd normally be entirely sure I hit any time goals I set, but I *am* pretty sure that I decided that in order to be effective, I didn't want to do kernel development at the same time as git development, so the "April 3" date of the 2.6.12-rc2 release is fairly significant.

			Linus
Previous: Linus TorvaldsNext: Daniel Barkalow
Message 7 of 8 in “Trivia: When did git self-host?”
  1. Mike ColemanFeb 26, 2007
  2. Shawn O. PearceFeb 26, 2007
  3. Johannes SchindelinFeb 27, 2007
  4. Mike ColemanFeb 28, 2007
  5. Martin LanghoffFeb 28, 2007
  6. Linus TorvaldsFeb 27, 2007
  7. Linus TorvaldsFeb 27, 2007
  8. Daniel BarkalowFeb 27, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.