Re: [PATCH v3 4/4] for-each-ref: avoid filtering on empty pattern
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 6, 2024, 22:16 UTC
- Message-ID
- <xmqqcyt9fdc7.fsf@gitster.g>
- In-Reply-To
- <CAOLa=ZSZJ=_VCppHXcJeE=Z61go4_040xyc1NBTu-o=xysLrdg@mail.gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
Show 5 quoted lines
> I think this was what the earlier discussion in the RFC series was too, > but Phillip definitely helped consolidate the point. > > I'll send a new version of this patch series with `--include-root-refs` > option and we can discuss on top of that.
Thanks.
By the way, I am not married to the "root refs" name, but
- we do not want to say "all refs", as I expect refs from other worktrees are not included, and possibly the option when combined with explicit patterns, like refs/tags/, may further be used to limit the output;
- we do not want to say "pseudo refs", as I expect we would want to show HEAD that is (unfortunately) classified outside "pseudoref" class.