From: Jeff King Date: Tue, 08 Nov 2022 14:44:18 GMT Subject: Re: [PATCH v3 5/6] revparse: add `--exclude-hidden=` option Message-ID: In-Reply-To: <68a5e563045f1b3e6db7304206d95ebebcacbe6f.1667823042.git.ps@pks.im> On Mon, Nov 07, 2022 at 01:16:39PM +0100, Patrick Steinhardt wrote: > Add a new `--exclude-hidden=` option that is similar to the one we just > added to git-rev-list(1). Given a seciton name `transfer`, `uploadpack` > or `receive` as argument, it causes us to exclude all references that > would be hidden by the respective `$seciton.hideRefs` configuration. Thanks for adding this one in. I feel like rev-parse isn't used all that much these days, and in a sense, we could just let it fall behind what rev-list could do and probably nobody would care. But since it's only a few lines, keeping parity with rev-list is nice to have. -Peff