Git development
 help / color / mirror / Atom feed
* [BUG] git symbolic-ref does not recognize @ as the shortcut for HEAD
@ 2014-01-09 15:05 Mathieu Lemoine
  2014-01-09 15:36 ` [BUG] "git rebase": fatal: Not a valid object name: '' Andreas Krey
  2014-01-15 11:26 ` [BUG] git symbolic-ref does not recognize @ as the shortcut for HEAD Duy Nguyen
  0 siblings, 2 replies; 6+ messages in thread
From: Mathieu Lemoine @ 2014-01-09 15:05 UTC (permalink / raw)
  To: git

Hello,

In https://raw.github.com/git/git/master/Documentation/RelNotes/1.8.5.txt
is mentioned:

 * Instead of typing four capital letters "HEAD", you can say "@" now,
e.g. "git log @".

However, `git symbolic-ref @`  gives "fatal: No such ref: @", while
`git symbolic-ref @`  gives "refs/heads/master".

I looked around in the archive and #git, but nobody seemed to be aware
of the behaviour.

I wonder if it's on purpose given the low level of symbolic-ref or if
it's a bug.

Mathieu Lemoine.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-15 11:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-09 15:05 [BUG] git symbolic-ref does not recognize @ as the shortcut for HEAD Mathieu Lemoine
2014-01-09 15:36 ` [BUG] "git rebase": fatal: Not a valid object name: '' Andreas Krey
2014-01-09 15:56   ` John Keeping
2014-01-09 16:06     ` Andreas Krey
2014-01-09 19:47       ` [PATCH] rebase: fix fork-point with zero arguments John Keeping
2014-01-15 11:26 ` [BUG] git symbolic-ref does not recognize @ as the shortcut for HEAD Duy Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox