From: Duy Nguyen Date: Sat, 15 Aug 2015 08:27:32 GMT Subject: Re: [PATCH v10 04/13] utf8: add function to align a string into given strbuf Message-ID: In-Reply-To: <1439129506-9989-5-git-send-email-Karthik.188@gmail.com> On Sun, Aug 9, 2015 at 9:11 PM, Karthik Nayak wrote: > Add strbuf_utf8_align() which will align a given string into a strbuf > as per given align_type and width. If the width is greater than the > string length then no alignment is performed. I smell an opportunity to reuse this code and kill some in pretty.c's format_and_pad_commit(). If you want, you can do it. Else this is my personal note so I don't forget to do it later :) -- Duy