Problem using git
Aruna Hewapathirane
aruna.hewapathirane at gmail.com
Thu Jun 12 00:58:42 EDT 2014
>>The kernel tar file from "www.kernel.org" is around 70MB.
>>but when i want to download the kernel using git it seems it's really
huge.
>>git shows 1% for 25MB. Is it how it should be or am i missing something?
This will download a local copy of the *entire* revision history (back to
2.6.12-rc2), which takes a couple hundred megabytes.
So what your experiencing is quite normal :)
It extracts the most recent version of all the files into your linux-git
directory, but that's just a snapshot (generally referred to by git people
as your "working copy").
The history is actually stored in the subdirectory "linux-git/.git", and
the snapshot can be recreated from that (or changed to match any historical
version) via various git commands.
You start with an up-to-the-minute copy of the linux kernel source, which
you can use just like an extracted tarball (ignoring the extra files in the
".git" directory).
If you're interested in history from the bitkeeper days (before
2.6.12-rc2), that's stored in a seperate repository,
"*git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git
<http://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git>*".
Reference : http://landley.net/writing/git-bisect-howto.html
Aruna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140612/48a77acf/attachment.html
More information about the Kernelnewbies
mailing list