From: Michael Haggerty Date: Tue, 30 Apr 2013 16:08:59 GMT Subject: Re: [PATCH] refs.c: interpret @ as HEAD Message-ID: <517FEC9B.7020000@alum.mit.edu> In-Reply-To: <20130430150430.GA13398@lanh> On 04/30/2013 05:04 PM, Duy Nguyen wrote: > On Tue, Apr 30, 2013 at 03:01:22PM +0200, Thomas Rast wrote: >> What annoys me more is that there's no way to say >> >> git symbolic-ref U @{u} >> >> so that I can avoid that -- it's really clumsy to type on a Swiss German >> keyboard. We'd need some sort of ref-alias feature for that to work. > > It's not hard to do. The below patch makes "." equivalent to HEAD and > ".U" -> "@{u}". Refs are not supposed to have '.' at the beginning, so > it's easy to figure somebody is using alias from what they send > you. Supporting refalias.* config should be easy. So what does "git log master...U" mean? Michael -- Michael Haggerty mhagger@alum.mit.edu http://softwareswirl.blogspot.com/