Junio C Hamano <gits...@pobox.com> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to