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

Re: New special handing of '@' character broke my use case

From
Johannes Sixt <j6t@kdbg.org>
Date
Aug 14, 2013, 20:11 UTC
Message-ID
<520BE468.1030808@kdbg.org>
In-Reply-To
<7vd2pgtagc.fsf@alter.siamese.dyndns.org>
Am 14.08.2013 20:05, schrieb Junio C Hamano:
Show 21 quoted lines
> Stefano Lattarini <stefano.lattarini@gmail.com> writes:
>
>> My problems is that some new automagical interpretation of the bare
>> @' character (introduced after 1.8.3) has destroyed my use case:
>> ...
>> I don't want to ask you to revert this new behaviour, but I'd like to
>> at least have an option to disable it.
>
> I do not think it is simply not worth the complexity to selectively
> disable it.  If it is a regression, it is much better to simply
> revert, if we can (it appears that cdfd9483 (Add new @ shortcut for
> HEAD, 2013-05-07) can be reverted without any textual context, but
> there may already be new stuff that depends on the "@").
>
> For the upcoming release, I am very much tempted to revert it and
> let the topic retried, by people who really want the "let's save
> four keystrokes and replace it with @ aka Shift-<something>",
> without hurting your use case (and others), after the upcoming
> release.
>
> What do others think?
Stefano's use-case, where @/foo is turned into HEAD/foo, indicates a bug.

In my opinion, the topic, which touches a central part of ref handling, was a bit hurried (and this report is a symptom of it), and I wouldn't mind seeing it reverted.

-- Hannes
Previous: Stefano LattariniNext: Junio C Hamano
Message 4 of 7 in “New special handing of '@' character broke my use case”
  1. Stefano LattariniAug 14, 2013
  2. Junio C HamanoAug 14, 2013
  3. Stefano LattariniAug 14, 2013
  4. Johannes SixtAug 14, 2013
  5. Junio C HamanoAug 14, 2013
  6. Stefano LattariniAug 15, 2013
  7. Junio C HamanoAug 14, 2013

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.