On Thu, May 2, 2013 at 10:09 AM, Ramkumar Ramachandra
<artag...@gmail.com> wrote:
> Felipe Contreras wrote:
>> We probably should fix those, but that is orthogonal to the '@' shortcut.
>> We can have the '@' shortcut *today*, with minimal changes to the code
>> and the documentation, in a limited and understood scope, with no
>> surprises.
>> We can fix the symbolic ref stuff slowly, step by step, no need to
>> delay the '@' shortcut for that.
> Agreed.

If only we didn't care about windows then we could have this feature today:

    cd .git
    ln -s HEAD @

...and everything works, in the most natural way.
Has anyone else tweaked their repo this way?

Is an alternative implementation to change the template repo to ship
with a symlink?

For windows, perhaps we can use this new code behind an #ifdef?

Anyways, it's just a crazy idea.  I very much like this feature,
and in a tweaked repo @{0}{1} actually works.

Is there no way to tweak this at some really low level to trick git
into believing the link exists (even when it doesn't)?

I guess that's what these patches do, but the limitations seem unfortunate.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to