Re: git-fast-import yields huge packfile

2019-03-21 Thread Ævar Arnfjörð Bjarmason
On Thu, Mar 21 2019, Johannes Schindelin wrote: > Hi Richard, > > On Sat, 16 Mar 2019, Richard Hipp wrote: > >> I'm trying to transform a repository from another VCS into a Git >> repository using "git fast-import". It appears to work, but the >> resulting Git repository is huge relative to the

Re: git-fast-import yields huge packfile

2019-03-21 Thread Johannes Schindelin
Hi Richard, On Sat, 16 Mar 2019, Richard Hipp wrote: > I'm trying to transform a repository from another VCS into a Git > repository using "git fast-import". It appears to work, but the > resulting Git repository is huge relative to the original - 18 times > larger. Most of the space seems to be

Re: git-fast-import yields huge packfile

2019-03-16 Thread Richard Hipp
On 3/16/19, Linus Torvalds wrote: > >git repack -adf > Thanks for the tip! -- D. Richard Hipp d...@sqlite.org

Re: git-fast-import yields huge packfile

2019-03-16 Thread Mike Hommey
On Sat, Mar 16, 2019 at 02:04:33PM -0700, Linus Torvalds wrote: > On Sat, Mar 16, 2019 at 1:31 PM Richard Hipp 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 compressio

Re: git-fast-import yields huge packfile

2019-03-16 Thread Linus Torvalds
On Sat, Mar 16, 2019 at 1:31 PM Richard Hipp 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 r

git-fast-import yields huge packfile

2019-03-16 Thread Richard Hipp
I'm trying to transform a repository from another VCS into a Git repository using "git fast-import". It appears to work, but the resulting Git repository is huge relative to the original - 18 times larger. Most of the space seems to be taken up by a single large packfile. That packfile is about 9