|
Message-ID: <CAGt4E5twO7qamwgryFgP1NGHYPP0ju9FBcBR8-3=V6hAmnv+ag@mail.gmail.com> Date: Thu, 13 Jan 2022 16:43:41 -0800 From: Markus Mayer <mmayer@...adcom.com> To: Alyssa Ross <hi@...ssa.is> Cc: Florian Fainelli <f.fainelli@...il.com>, musl@...ts.openwall.com, Rich Felker <dalias@...c.org> Subject: Re: git cloning over https? On Thu, 13 Jan 2022 at 15:25, Alyssa Ross <hi@...ssa.is> wrote: > > From what I remember (and take this with a grain of salt, because it's > been a long time since I looked into it), the "dumb" HTTP protocol works > by downloading pre-built packfiles from a static web server, whereas the > "smart" protocol can negotiate exactly the objects it needs with the > server. This might explain the size difference. > > I imagine if you git gc you'll end up with the same size as the git:// > clone. You are absolutely correct. $ du -sh musl-* 52M musl-http 20M musl-git $ cd musl-http; git gc; cd .. Counting objects: 100% (36120/36120), done. Delta compression using up to 48 threads Compressing objects: 100% (15465/15465), done. Writing objects: 100% (36120/36120), done. Total 36120 (delta 26317), reused 27955 (delta 20259) $ du -sh musl-* 20M musl-http 20M musl-git Regards, -Markus
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.