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

Re: [PATCH v2] object-name: accept @{p} as short for @{push}

From
Harald Nordgren <haraldnordgren@gmail.com>
Date
Oct 2, 2026, 13:57 UTC
Message-ID
<CAHwyqnV4KzDvqeSt-t6NUyV8L3pkstdYNP9itNKLS2guQ0yJuQ@mail.gmail.com>
In-Reply-To
<81BD7B8C-6E7E-451A-9D48-49ABD5FA5F68@gmail.com>
Show 14 quoted lines
> > +test_expect_success '@{p} is short for @{push}' '
> > +    test_config push.default current &&
> > +    test_config branch.topic.pushremote other &&
> > +    resolve topic@{p} refs/remotes/other/topic &&
> > +    resolve topic@{P} refs/remotes/other/topic
> > +'
> > +
>
> I don’t recall offhand if @{U} case-variant is supported, but I wonder
> if we might not want to preserve as many single-character shorthands
> as we can, since there are a limited number that are reasonable to
> type.
>
> If upstream already supports different cases, though, symmetry is probably best.
It surprised me too, but '@{U}' is actually supported already.
Harald
Previous: Ben KnobleNext: Junio C Hamano
Message 10 of 11 in “object-name: accept @{p} as short for @{push}”
  1. object-name: accept @{p} as short for @{push}Harald Nordgren via GitGitGadget, Sep 30, 2026
  2. D. Ben KnobleSep 30, 2026
  3. Junio C HamanoSep 30, 2026
  4. Jeff KingSep 30, 2026
  5. Junio C HamanoOct 1, 2026
  6. Junio C HamanoSep 30, 2026
  7. Harald NordgrenOct 1, 2026
  8. object-name: accept @{p} as short for @{push}Harald Nordgren via GitGitGadget, Oct 2, 2026
  9. Ben KnobleOct 2, 2026
  10. Harald NordgrenOct 2, 2026
  11. Junio C HamanoOct 2, 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.