Thomas Rast wrote:
> But then why don't you just 'git symbolic-ref H HEAD' for a sort of
> "local alias"?
Yes, I already have @ pointing to HEAD. And I think it's much nicer
than H (also since H@{u} doesn't resolve [1]). The purpose of this
patch is to standardize @ for everyone.
> What annoys me more is that there's no way to say
>
> git symbolic-ref U @{u}
That's because the part after "ref: " in a symref is expected to point
to a concrete ref, and doesn't go through the get_sha1_basic()
machinery. Making symrefs peel recursively might or might not be a
good idea; I haven't thought about it enough. However, it's not my
itch: write a patch and start a discussion?
[1]: http://thread.gmane.org/gmane.comp.version-control.git/222852/focus=222916
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html