[PATCH v17 06/14] ref-filter: implement an `align` atom

2015-09-11 Thread Karthik Nayak
Implement an `align` atom which left-, middle-, or right-aligns the content between %(align:...) and %(end). The "align:" is followed by `` and `` in any order separated by a comma, where the `` is either left, right or middle, default being left and `` is the total length of the content with

[PATCH v17 06/14] ref-filter: implement an `align` atom

2015-09-11 Thread Karthik Nayak
Implement an `align` atom which left-, middle-, or right-aligns the content between %(align:...) and %(end). The "align:" is followed by `` and `` in any order separated by a comma, where the `` is either left, right or middle, default being left and `` is the total length of the content with

[PATCH v17 06/14] ref-filter: implement an `align` atom

2015-09-10 Thread Karthik Nayak
Implement an `align` atom which left-, middle-, or right-aligns the content between %(align:...) and %(end). The "align:" is followed by `` and `` in any order separated by a comma, where the `` is either left, right or middle, default being left and `` is the total length of the content with

Re: [PATCH v17 06/14] ref-filter: implement an `align` atom

2015-09-10 Thread Matthieu Moy
Karthik Nayak writes: > + /* > + * TODO: Implement a function similar to > strbuf_split_str() > + * which would omit the separator from the end of each > value. > + */ > +

Re: [PATCH v17 06/14] ref-filter: implement an `align` atom

2015-09-10 Thread Junio C Hamano
Karthik Nayak writes: > Implement an `align` atom which left-, middle-, or right-aligns the > content between %(align:...) and %(end). Nicely done. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More