Re: [PATCH 4/3] provide a nice @{...} syntax to always mean the current branch reflog
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 2, 2007, 01:15 UTC
- Message-ID
- <7v1wl9nyvv.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0702011725150.3021@xanadu.home>
Nicolas Pitre <nico@cam.org> writes:
Show 14 quoted lines
> This is shorter than HEAD@{...} and being nameless it has no semantic
> issues.
>
> Signed-off-by: Nicolas Pitre <nico@cam.org>
> ---
>
> On Thu, 1 Feb 2007, Matthias Lederhofer wrote:
>
>> Nicolas Pitre <nico@cam.org> wrote:
>> > I really like "@{...}" to mean whatever branch I'm on. Given that it
>> > has no real name it can happily change meaning with branch switches.
>> Ack.
>
> Here it is, on top of my previous patches.I think with this it makes a lot of sense to disallow HEAD@{} until we are ready.