Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linux kernel "historical" git repository with full history

I think many developers like to investigate sources with the help of git gui blame. As explained in the commit for Linux-2.6.12-rc2 (also mirrored at Github), it needs to have special historical Linux repository for this purpose.

Linux-2.6.12-rc2

Initial git repository build. I’m not bothering with the full history, even though we have it. We can create a separate “historical” git archive of that later if we want to, and in the meantime it’s about 3.2GB when imported into git — space that would just make the early git days unnecessarily complicated, when we don’t have a lot of good infrastructure for it.

Let it rip!

I have looked at a lot of the prepared historical repositories but I didn’t find one containing changes going back to version zero, so I gave up and am asking this question here.

like image 464
ashrugger Avatar asked Jul 16 '10 11:07

ashrugger


1 Answers

Here is my setup.

I have a repository with a clone of the following remotes:

  • https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
  • https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
  • https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git
  • https://git.kernel.org/pub/scm/linux/kernel/git/davej/history.git

And the following grafts (info/grafts):

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 e7e173af42dbf37b1d946f9ee00219cb3b2bea6a 7a2deb32924142696b8174cdf9b38cd72a11fc96 379a6be1eedb84ae0d476afbc4b4070383681178 

With these grafts, I have an unbroken view of the kernel history since 0.01. The first graft glues together the very first release in Linus' repository with the corresponding release of tglx/history.git. The second graft glues together tglx/history.git and davej/history.git.

There are a few older versions missing, and the older versions have release granularity instead of patch granularity, but this is the best setup I know of.


Edit: Dave Jones pointed me to http://www.archive.org/details/git-history-of-linux, which seems to be exactly what you want.

like image 159
CesarB Avatar answered Sep 19 '22 19:09

CesarB