Re: [PATCH 6/6] builtin/repo: add object disk size info to structure table
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Dec 10, 2025, 06:28 UTC
- Message-ID
- <aTkTGilv-xRRQVHA@pks.im>
- In-Reply-To
- <20251209225820.2861276-7-jltobler@gmail.com>
On Tue, Dec 09, 2025 at 04:58:20PM -0600, Justin Tobler wrote:
Show 13 quoted lines
> diff --git a/t/t1901-repo-structure.sh b/t/t1901-repo-structure.sh > index a98c651f1d..51820cc3f6 100755 > --- a/t/t1901-repo-structure.sh > +++ b/t/t1901-repo-structure.sh > @@ -107,7 +121,10 @@ test_expect_success SHA1 'repository with references and objects' ' > | * Tags | 132 B | > EOF > > - git repo structure >out 2>err && > + git repo structure >out.raw 2>err && > + > + # Skip object disk sizes due to platform variance. > + strip_object_disk_usage out.raw >out &&
As mentioned, we can use git-rev-list(1) to compute the expected disk sizes.
Thanks!
Patrick