Re: git .pack expansion question

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

 




On Jul 12, 2007, at 3:03 PM, Ryan Moszynski wrote:

hopefully this is the right list for this:

am i understanding this right?

if i run the command:
git-repack
this creates an .idx and a .pack file that together hold all the files
and other metadata for my git directory.

You're not understanding it correctly. The .pack files hold all the data from the git repository, but none of the metadata. The .idx file is an index into the pack for speed and can be re-created from the pack itself.

What you're looking for is git-bundle (added just after v1.5.0 it looks like). `git bundle create <file-name> --all` will bundle up all the branches from your repository. It doesn't seem to want to take the tags when I do it that way, but it's definitely the right start.

~~ Brian
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux