Re: git-fast-import yields huge packfile

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

 



On Sat, Mar 16, 2019 at 1:31 PM Richard Hipp <drh@xxxxxxxxxx> wrote:
>
> Maybe I'm doing something wrong with the fast-import stream that is
> defeating Git's attempts at delta compression....

fast-import doesn't do fancy delta compression becayse that would
defeat the "fast" part of fast-import.

Just do a git repack after the import to do the proper repacking. I
get a 41Mb packfile when I try that on your repo.

So a simple

   git repack -adf

should fix things up for you (the "-f" to make sure it doesn't try to
re-use things from the silly bad pack). Alternatively, use "git gc
--aggressive", which will do that forced repack too.

                  Linus



[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