From: Aniket Gupta <aniketgupta3001@gmail.com>
To: Patrick Steinhardt <ps@pks.im>
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>,
Laveesh Bansal <laveeshb@laveeshbansal.com>
Subject: Re: [GSoC PATCH v3] fsck: report the number of objects in the connectivity message
Date: Wed, 2 Dec 2026 00:57:51 +0530 [thread overview]
Message-ID: <20261201192751.16842-1-aniketgupta3001@gmail.com> (raw)
In-Reply-To: <aw7wiYY8acDYHzYL@pks.im>
> Micronit: It's a tiny bit confusing that you now assign this variable
> before the `if (verbose)` block, because we don't actually need it in
> there. I would have moved the assignment down to the second loop.
Makes sense. I will do that in v4.
> Nit: The function name is rather generic, and it may for example lead
> the reader to believe that it is about the total number of objects
> contained in the object database. It's not though, it's only about the
> total number of _parsed_ objects.
>
> So should this be called `get_parsed_object_count()` instead?
I can rename it to get_parsed_object_count(). The count also includes
objects that were only referenced and never parsed, so I will mention
this in the comment.
prev parent reply other threads:[~2026-12-01 19:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-20 10:21 [GSoC PATCH] fsck: report the real object count in the connectivity message Aniket Gupta
2026-11-12 2:55 ` Laveesh Bansal
2026-11-12 13:07 ` Aniket Gupta
2026-11-23 18:46 ` Laveesh Bansal
2026-11-23 22:43 ` Aniket Gupta
2026-11-29 10:02 ` [GSoC PATCH v2] fsck: report the number of objects " Aniket Gupta
2026-11-29 19:10 ` Junio C Hamano
2026-11-29 19:33 ` Aniket Gupta
2026-11-30 12:36 ` [GSoC PATCH v3] " Aniket Gupta
2026-12-01 16:06 ` Patrick Steinhardt
2026-12-01 19:27 ` Aniket Gupta [this message]
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=20261201192751.16842-1-aniketgupta3001@gmail.com \
--to=aniketgupta3001@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=laveeshb@laveeshbansal.com \
--cc=ps@pks.im \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox