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

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

From
Jeff King <peff@peff.net>
Date
Sep 30, 2026, 22:39 UTC
Message-ID
<20260930223906.GA763270@coredump.intra.peff.net>
In-Reply-To
<xmqqbj9e8kb3.fsf@gitster.g>
On Wed, Sep 30, 2026 at 03:07:44PM -0700, Junio C Hamano wrote:
Show 7 quoted lines
> @{u} existed since the inception of @{upstream}, as we can see in
> https://lore.kernel.org/git/20150331173740.GE18912@peff.net/ which
> is the first iteration of the patch set that added @{push}.  It is
> unclear what was said during the review of v2 [*] but in the review
> of v3 https://lore.kernel.org/git/20150521045233.GA26507@peff.net/,
> nobody questioned the asymmetry between @{upstream} having a
> short-and-sweet @{u} while @{push} lacked the corresponding @{p}.

I think you have to go back further. Another contributor proposed @{publish} with somewhat different semantics, and I requested that it not use @{p} to avoid confusion between the two. There was also some discussion of @{pull} (I think as an alias to @{upstream}) at the time, which would further increase the confusion.

See this what's cooking and the actual patch threads around that time:
  https://lore.kernel.org/git/xmqqoazpt45p.fsf@gitster.dls.corp.google.com/

I don't remember what ultimately happened with the @{publish} series, but given the time-frame and the contributor, I can make some guesses.

I don't think either of those name conflicts are under current discussion, so I don't have any particular objection. Just noting the history.

Show 7 quoted lines
>  * https://public-inbox.org/git/?q=gmane:268185 would have given us
>    a good way to find what thread Peff was referring to in the cover
>    letter of v3 iteration:
> 
>    https://lore.kernel.org/git/20150521044429.GA5857@peff.net/
> 
>    Unfortunately, we are getting 502 back X-<.
I have a local archive, but the v2 thread is not enlightening. :)
-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 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.