mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Markus Mayer <mmayer@broadcom.com>
To: Alyssa Ross <hi@alyssa.is>
Cc: Florian Fainelli <f.fainelli@gmail.com>,
	musl@lists.openwall.com,  Rich Felker <dalias@libc.org>
Subject: Re: [musl] git cloning over https?
Date: Thu, 13 Jan 2022 16:43:41 -0800	[thread overview]
Message-ID: <CAGt4E5twO7qamwgryFgP1NGHYPP0ju9FBcBR8-3=V6hAmnv+ag@mail.gmail.com> (raw)
In-Reply-To: <20220113232505.fikgjgrzeqocohck@eve>

On Thu, 13 Jan 2022 at 15:25, Alyssa Ross <hi@alyssa.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

  reply	other threads:[~2022-01-14  9:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-13 21:44 Florian Fainelli
2022-01-13 21:50 ` Leah Neukirchen
2022-01-13 21:53 ` Alyssa Ross
2022-01-13 21:56   ` Alyssa Ross
2022-01-13 22:12   ` Florian Fainelli
2022-01-13 22:23     ` Markus Mayer
2022-01-13 23:25       ` Alyssa Ross
2022-01-14  0:43         ` Markus Mayer [this message]
2022-01-13 22:26 ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGt4E5twO7qamwgryFgP1NGHYPP0ju9FBcBR8-3=V6hAmnv+ag@mail.gmail.com' \
    --to=mmayer@broadcom.com \
    --cc=dalias@libc.org \
    --cc=f.fainelli@gmail.com \
    --cc=hi@alyssa.is \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).