git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] alias: restore support for simple dotted aliases

From
Jonatan Holmgren <jonatan@jontes.page>
Date
Apr 25, 2026, 09:57 UTC
Message-ID
<40408c99-7e2a-4cf6-b9b2-6d0e0da3b2c5@jontes.page>
In-Reply-To
<xmqqpl3ovuvq.fsf@gitster.g>

That is a challenge we are going to have to consider. I think reserving `command` is a worthwhile compromise, but obviously we cannot do that for arbitrary future keys such as `help`, `hidden`, etc.

One possible compromise would be to reserve `command` and `alias-*`, as neither seems very likely to exist in users' historical alias names.

A new namespace makes the most sense from a namespace-pollution point of view, but I struggle to see that as good UX. Even a separate namespace only for alias metadata would make more sense to me than moving aliases entirely, since subsection aliases with just `command` will likely be far more common than any future metadata keys, but this is not something I see as a good solution either.

Previous: Junio C HamanoNext: Jeff King
Message 10 of 18 in “Bug: Hierarchical Aliases no longer work in 2.54.0”
  1. Grossfeld, MichaelApr 23, 2026
  2. Jeff KingApr 23, 2026
  3. Michael GrossfeldApr 23, 2026
  4. René ScharfeApr 23, 2026
  5. Michael GrossfeldApr 23, 2026
  6. Jonatan HolmgrenApr 24, 2026
  7. alias: restore support for simple dotted aliasesJonatan Holmgren, Apr 24, 2026
  8. Kristoffer HaugsbakkApr 24, 2026
  9. Junio C HamanoApr 24, 2026
  10. Jonatan HolmgrenApr 25, 2026
  11. Jeff KingApr 25, 2026
  12. Jeff KingApr 25, 2026
  13. Jonatan HolmgrenApr 26, 2026
  14. Jeff KingApr 26, 2026
  15. Jonatan HolmgrenApr 27, 2026
  16. Junio C HamanoMay 12, 2026
  17. Jeff KingMay 19, 2026
  18. alias: restore support for simple dotted aliasesJonatan Holmgren, Apr 24, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.