From: Felipe Contreras Date: Mon, 29 Apr 2013 20:38:40 GMT Subject: Re: [PATCH] Add new @ shortcut for HEAD Message-ID: In-Reply-To: <7v1u9thyq9.fsf@alter.siamese.dyndns.org> On Mon, Apr 29, 2013 at 3:24 PM, Junio C Hamano wrote: > Felipe Contreras 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