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

Re: Official git repository history?

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jun 30, 2009, 19:01 UTC
Message-ID
<alpine.LFD.2.01.0906301058100.3605@localhost.localdomain>
In-Reply-To
<h2chap$i27$1@ger.gmane.org>
On Tue, 30 Jun 2009, Graeme Geldenhuys wrote:
Show 5 quoted lines
> 
> Last night I played further with the first ever commit. I managed to 
> figure out the sequence in which commands had to be run. Kudos to the 
> people that decided the make the commands easier in the later versions. 
> :-)

Well, in all fairness, even _I_ didn't enjoy using it at that stage. It was all very hacky, with the manual "write-tree" + "commit-tree" stuff.

But it's interesting to look at the timing:
 - Start early April
 - First git commit April 7
 - first kernel commit April 16
 - first merge: April 17 (14:47)

The time of that first merge is interesting, because it's worth correlating the git tree with the early kernel tree there. What preceded that first merge? Yup: the git 'merge-base' program was written a couple of hours before.

But the really interesting thing (to me) is that while I had tools/scripts to apply patches and to do relatively fancy tthings like merges etc basically just a couple of weeks after starting, it's telling just how long it took for something as simple as "git commit" to happen: May 30.

Never mind that it was actually just a totally trivial shell script, literally just a few lines. So it wasn't about the technology, it's very much a sign of what mattered to me.

I mean, I had a tool to create merges with conflicts back in mid-april! But something as simple as just committing the existing tree? No tools, you had to do that whole

	git-update-index ..
	commit=$(git-commit-tree $(git-write-tree) -p HEAD)
	.. type in message ..
	echo $commit > .git/HEAD
song-and-dance by hand.

Or use cogito, which explains the success of early wrappers - other people had rather different priorities than I did.

			Linus
Previous: Graeme GeldenhuysNext: Graeme Geldenhuys
Message 6 of 8 in “Official git repository history?”
  1. Graeme GeldenhuysJun 29, 2009
  2. Junio C HamanoJun 30, 2009
  3. Graeme GeldenhuysJun 30, 2009
  4. Andreas EricssonJun 30, 2009
  5. Graeme GeldenhuysJun 30, 2009
  6. Linus TorvaldsJun 30, 2009
  7. Graeme GeldenhuysJul 1, 2009
  8. Daniel BarkalowJun 30, 2009

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.