Re: Problem using git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>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".

Reference : http://landley.net/writing/git-bisect-howto.html

Aruna


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux