From: Junio C Hamano Date: Tue, 25 Aug 2015 19:43:44 GMT Subject: Re: [PATCH v13 00/12] port tag.c to use ref-filter APIs Message-ID: In-Reply-To: Junio C Hamano writes: > I didn't check how wide the original is supposed to be, but perhaps > changing builtin/tag.c this way > > if (filter->lines) > - format = "%(align:16,left)%(refname:short)%(end)"; > + format = "%(align:15,left)%(refname:short)%(end) "; > else > format = "%(refname:short)"; > } > > may be one way to fix it. Check the original "tag -l" output for > tags whose names are 14, 15, 16 and 17 display-columns wide and try > to match it. Heh, I did it myself. %(align:15) with trailing whitespace is what you want. An alternative way to spell it would be "%(align:16,left)%(refname:short) %(end)" I don't know which one is more readable, though.