Re: [PATCH] Add new @ shortcut for HEAD
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 29, 2013, 20:24 UTC
- Message-ID
- <7v1u9thyq9.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAMP44s3ghzcfTthEEYZgr7ydJFUeA5xKyAxgR1JUYVtWG7f=qg@mail.gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> 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).