Re: [GSoC][RFC PATCH v4 3/5] builtin/refs: add list subcommand
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 1, 2025, 17:14 UTC
- Message-ID
- <xmqqwm7nklqf.fsf@gitster.g>
- In-Reply-To
- <c4d9b25a-2a62-41bf-90e6-455c62b03aa3@gmail.com>
Phillip Wood <phillip.wood123@gmail.com> writes:
> It is confusing that refs/heads does a prefix match but refs/heads/m > does not (unless there is a hierarchy boundary after the m).
And refs/hea would not show branches, for the same reason. It is what "anchored at hierarchy boundary" in the message you are responding to means. In other words, it is not a simple textual prefix match.