From: Duy Nguyen Date: Wed, 29 May 2013 03:04:37 GMT Subject: Re: [PATCH v2 0/3] Towards a useable git-branch Message-ID: In-Reply-To: On Tue, May 28, 2013 at 9:28 PM, Ramkumar Ramachandra wrote: > Ramkumar Ramachandra wrote: >> %>(N) doesn't work properly with f-e-r, and I'm not sure why. I'm not >> talking about your last patch where you compute * -- that works fine; >> it's just that %>(N) doesn't when N is a concrete number. > > Try this: > > %(refname:short)%>(30)%(upstream:short) > > (assuming that you have lots of branches). I'm noticing random > alignment problems. It's because you don't pad enough spaces after %(refname:short) so the starting point of %(upstream:short) on each line is already unaligned, I think. Try this: %<(*)%(refname:short)%>(30)%(upstream:short) or if you prefer at specific column (e.g. align upstream close to the 60th column, regardless of refname's length): %(refname:short)%>|(60)%(upstream:short) -- Duy