From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30222 invoked from network); 14 Jan 2022 09:06:49 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 14 Jan 2022 09:06:49 -0000 Received: (qmail 20270 invoked by uid 550); 14 Jan 2022 09:06:15 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 24336 invoked from network); 14 Jan 2022 00:44:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ulDel/D8AXx0LSEV2UHBb/FQkTGrlqVRdML8nq/9ltQ=; b=YjOss88Ia5VIWbAdvEIzCdtw7evTY9cj3lKHFWM+TRD5SUrqy52QnbSPr3mcc+COiu R1alfMP4vpAOe7UOfFwGrinrTviyj4os4e9STUQp8jgeuxWLr6kxlpSR/DSq47AA33oL KGmXTc8l3E69sq/xNK5caL8MhWQSVp/bVzUNg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ulDel/D8AXx0LSEV2UHBb/FQkTGrlqVRdML8nq/9ltQ=; b=h6HYkCIgTWcIYTOeRn8o94U2MKF2IBMFppHCsELCbrI4R4jIRnKC/p2HE5j+OUAwoo WJCBa10ywzJc1zmhCe6mvCYGv7sBczje8cMA4/fLZaPymWm5XOyyoHPEGsGTp3fabwmW 6RtxE0o7LAIyGB7376dGp+0H/c7Ys1rI+Y0h6HcYUGlwmltIzRQRSOFCRcHw6Z02jGTZ xs/hCZrra83VmJf8gSZ8dCo8sT+NOgV96U85MZHLbKZNNv7AmIUb0+gNJ/h4DO5EpH3S sNSruoAHgbD6tDoiXkZhrd5LuHrlZngF2b801SZ+GyZD/1LzY7s0NZAAxGLsGz9XukcX 50bA== X-Gm-Message-State: AOAM532yiFznET0fIQrw96+Xt98O8xG2jYCa+ai2j4qLNK7yZVrS0MQq 1Luwr//m+roeUbX0U9TXYVMyKFaKMKSBi9JvrtgYgg== X-Google-Smtp-Source: ABdhPJxqSo9IrrwD4k/ccOxIFJUIKmhBtd+NmYBq7/Wo4+dcYSj8zg5GXRjKYNfUuvxIxE020g/oLk8JYLgkMKWyRds= X-Received: by 2002:ac8:5f4e:: with SMTP id y14mr5844642qta.305.1642121032223; Thu, 13 Jan 2022 16:43:52 -0800 (PST) MIME-Version: 1.0 References: <20220113215343.rople6ccc43zdxzn@eve> <3b3fc183-5cdc-1cf1-6b2e-8f01aeac9ceb@gmail.com> <20220113232505.fikgjgrzeqocohck@eve> In-Reply-To: <20220113232505.fikgjgrzeqocohck@eve> From: Markus Mayer Date: Thu, 13 Jan 2022 16:43:41 -0800 Message-ID: To: Alyssa Ross Cc: Florian Fainelli , musl@lists.openwall.com, Rich Felker Content-Type: text/plain; charset="UTF-8" Subject: Re: [musl] git cloning over https? On Thu, 13 Jan 2022 at 15:25, Alyssa Ross 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