Re: [PATCH] Add new @ shortcut for HEAD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 29, 2013 at 3:24 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Felipe Contreras <felipe.contreras@xxxxxxxxx> writes:
>
>> But @ is not used just for reflogs, there's @{now}, @{-1}, @{upstream}.
>
> True.  @{now} is a reflog, @{-1} is also but @{u} is not.  It is a
> kitchen sink and you shouldn't have to have reflog on a branch in
> order to use @{upstream} (I didn't check---I wouldn't be surprised
> if the code for @{u} is buggy and barfed).

It shouldn't matter if @{u} is buggy or not (which I doubt), @ is
basically @{nothing}, or @{same-commit}, whether a reflog is present
or not doesn't really matter. HEAD@ -> HEAD, master@ -> master, and so
on.

-- 
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]