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.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29898 invoked from network); 20 Feb 2022 16:32:09 -0000 Received: from lists.zx2c4.com (165.227.139.114) by inbox.vuxu.org with ESMTPUTF8; 20 Feb 2022 16:32:09 -0000 Received: by lists.zx2c4.com (OpenSMTPD) with ESMTP id b99bfcb2; Sun, 20 Feb 2022 16:31:57 +0000 (UTC) Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lists.zx2c4.com (OpenSMTPD) with ESMTPS id 2b312127 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sun, 20 Feb 2022 16:31:56 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 78F2B5C00DD; Sun, 20 Feb 2022 11:31:55 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 20 Feb 2022 11:31:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=causal.agency; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; bh=yQdCxMx+3cyy5W fxfMArvLIB7I0D5P+MxgZhwlHlGWg=; b=Mk4ZO9LaNd4UWeVpsZF8pdvs9AC9Da cq9IvKuVCM/h1WIqzU7GSPJf6G/UyucaNOr2yN6Oef9QgBSGz3ySiN9bvFjmBm4Q YpBN4G1AksnRSpmzQ1hMg1txHQn5gCrJ7XA/h6TpQzek+pIdeGJjDABABhcvuyRU qWM+DZbT9LLvArMKGiPcHkeQpHmLxDi2gK6a8xYpmMveblxVNSz3ddgdn8eDoHzK q0wyZ5tvDPBQ0vFh1xR132ONQdcWZBTostoql9d+uqu5dEPvDq1ZnoqCy2C5Nm+L r/Dy7WAc5isTJxqaaUickVB6EG0wfsS4CaTjeVBGMyu1yq9r49RaFoQA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=yQdCxMx+3cyy5WfxfMArvLIB7I0D5P+MxgZhwlHlG Wg=; b=dJVp6FkejLZpUCgAUbSmbLzgckAIcoYdPpFUnFAHch8bSfdbgHulmjPcJ fJwcb3r5WWVgTyWI1QNi1ty0tMa5hCnoBjA2cMPCWqZlrmwe4iTtcyDHqzfcS3cb tz8lev8qoBSFMtviEFBuyOnVnDvWNQfR0a8UiD+ef6v9GiGOtdzR7V57FKov1yM6 1DPyBktYTkLD5EyT+5/ClyFwW9KHlSeUNQ9r0gFhK/kRQ3/PhE5DmpHsUTdnciCq r4QKYMBXoTPEddhzM9Ool+JbDRDFpc40UN0fXQ2rTu1Wpvj8OgjIcSsUTsyNavUD UfmR+J3z+Gn6JjP5Ln/EhsZz5494w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrkeeggdeltdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurheptggguffhjgffgffkfhfvofesthhqmh dthhdtvdenucfhrhhomhepjhhunhgvuceojhhunhgvsegtrghushgrlhdrrghgvghntgih qeenucggtffrrghtthgvrhhnpedtlefhffevleevleelhfdvfefhleekjeekgfehjeefle fgteethfffuddufffhjeenucffohhmrghinhepshgugihlihhvvgdrtghomhdpghhithdq shgtmhdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehjuhhnvgestggruhhsrghlrdgrghgvnhgthi X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Feb 2022 11:31:55 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: What does the value of the size column for folders represent? From: june In-Reply-To: Date: Sun, 20 Feb 2022 11:31:54 -0500 Cc: cgit@lists.zx2c4.com Content-Transfer-Encoding: quoted-printable Message-Id: <933AB390-9166-451C-B3C5-7441607F7C7B@causal.agency> References: To: jean-christophe manciot X-Mailer: Apple Mail (2.3608.120.23.2.7) X-BeenThere: cgit@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: List for cgit developers and users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cgit-bounces@lists.zx2c4.com Sender: "CGit" > On Feb 20, 2022, at 11:17, jean-christophe manciot = wrote: >=20 > Hi there, > The value shown for files is as expected the ... exact size of the > files in bytes. > But I cannot make sense of that value for folders. >=20 > Here is an example at = https://git.sdxlive.com/PPA/tree/Ubuntu/pool/stable/l > - linux-signed folder has the size '5267' > - its contents total size is ~ 302 MB (as shown by du on a cloned = repository) > - it contains 62 files >=20 > Is this an issue or is the cgit size showing something else for = folders? It is showing the size of the tree object[1] in git. This command should show the same size: $ git cat-file tree master^{tree}:Ubuntu/pool/stable/l/linux-signed | wc = -c [1]: = https://git-scm.com/book/en/v2/Git-Internals-Git-Objects#_tree_objects