git clone of linux kernel provides only compressed pack files

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

 



Hi All,

I cloned 3.2 kernel from git repository, but I am not seeing any
source files. The .git directory contains .git/objects/pack/*.pack
file which is huge and it seems all source code with commit revision
is stored there. When I do "git unpack-objects -r < xyz.pack", it
completes 100% but still no source files show up. The only thing it
generates is some more entries in .git/objects/ directory. The same
problem also occurs when I try to clone android repository. Pls help,
I am sure I am missing some obvious step here.

[root@pe1800xs src]# git clone --recursive -v
http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Cloning into linux-stable...
remote: Counting objects: 2446667, done.
remote: Compressing objects: 100% (391011/391011), done.
Receiving objects:  18% (447106/2446667), 259.18 MiB | 43 KiB/s

[root@pe1800xs .git]# du -h
4.0K    ./objects/info
284M    ./objects/pack
285M    ./objects
8.0K    ./info
4.0K    ./refs/tags
4.0K    ./refs/heads
12K     ./refs
48K     ./hooks
4.0K    ./branches
285M    .

[e518816@pe1800xs common]$ git unpack-objects -r <
.git/objects/pack/pack-d2d041c2bd4a39fdfdf37c896f64a3c1b53d3d2b.pack
Unpacking objects: 100% (2074089/2074089), done.

>From the man page of git-unpack-objects: "Objects that already exist
in the repository will not be unpacked from the pack-file. Therefore,
nothing will be unpacked if you use this command on a pack-file that
exists within the target repository." I guess this is the problem I am
facing. How do I extract the linux souce files (HEAD branch) from pack
file?

-- 
Thanks & Regards,
Manavendra Nath Manav

_______________________________________________
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