From: Eric Sunshine Date: Thu, 13 Aug 2015 18:26:31 GMT Subject: Re: [PATCH v10 05/13] ref-filter: implement an `align` atom Message-ID: In-Reply-To: <1439129506-9989-6-git-send-email-Karthik.188@gmail.com> On Sun, Aug 9, 2015 at 10:11 AM, Karthik Nayak wrote: > Implement an `align` atom which left-, middle-, or right-aligns the > content between %(align:..) and %(end). > > Signed-off-by: Karthik Nayak > --- > diff --git a/Documentation/git-for-each-ref.txt b/Documentation/git-for-each-ref.txt > index e49d578..d949812 100644 > --- a/Documentation/git-for-each-ref.txt > +++ b/Documentation/git-for-each-ref.txt > @@ -127,6 +127,15 @@ color:: > Change output color. Followed by `:`, where names > are described in `color.branch.*`. > > +align:: > + Implement an `align` atom which left-, middle-, or > + right-aligns the content between %(align:..) and This documentation seems to be copied a bit too literally from the commit message. Saying "Implement an `align` atom" makes sense for the commit message, but not for the documentation of the 'align' atom. Instead, Left-, middle-, or right-align the content between %(align:...) and %(end). would sound better. > + %(end). Followed by `:,`, where the > + `` is either left, right or middle and `` is > + the total length of the content with alignment. If the > + contents length is more than the width then no alignment is > + performed. Currently nested alignment is not supported.