News for hackers. Stuff that matters.
Re:What's New In Git 1.8.5 by Groxx on Wednesday December 04, 2013 @12:56PM (#6848693)
>HEAD has a new alias, instead of typing four capital letters you can say “@”

fwiw you've been able to type "head" for quite a while (forever?). TYPING IN ALL CAPS is a bit of a pain, I agree, but at least for me "head" is somewhere on the same level of typing-complexity as @, possibly easier.

Re:What's New In Git 1.8.5 by jedbrown on Wednesday December 04, 2013 @01:35PM (#6849010)
Uh, where can you use "head"?

    $ git show head
    fatal: ambiguous argument 'head': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git <command> [<revision>...] -- [<file>...]'
    $ git show head --
    fatal: bad revision 'head'
    $ git version
    git version 1.8.4.2
Re:What's New In Git 1.8.5 by nteon on Wednesday December 04, 2013 @01:41PM (#6849068)
most likely on case-insensitive file systems, like the default HFS+ on the Mac and NTFS on Windows.

EDIT: to expand, reference lookups are filysystem lookups:

    01:42:24 (gh-pages) [bpowers@fina myproject]$ strace git show HEAD 2>&1 | grep HEAD
    execve("/usr/bin/git", ["git", "show", "HEAD"], [/* 79 vars */]) = 0
    lstat(".git/HEAD", {st_mode=S_IFREG|0664, st_size=25, ...}) = 0
EDIT2: formatting
Re:What's New In Git 1.8.5 by Groxx on Wednesday December 04, 2013 @07:57PM (#6851852)
Aaah, good point, that's probably the cause. Yeah, this is on a Mac.
Re:What's New In Git 1.8.5 by scott_karana on Wednesday December 04, 2013 @01:44PM (#6849102)
It's also definitely more transparent for a new user.

git rebase @~4 looks like Perl :)