Re: [PATCH v3 11/13] pretty: support padding placeholders, %< %> and %><

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH v3 11/13] pretty: support padding placeholders, %< %> and %><

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:52

Nguyễn Thái Ngọc Duy  [off-list ref] writes:
+delete_trailing_dollar() {
+	sed 's/\$$//'
+}
This is what we have qz_to_tab_space for, isn't it?  With it, you
can not just avoid "trailing whitespace", but also "indent with
spaces", like this:

Q         message thousand    Z

Re: [PATCH v3 11/13] pretty: support padding placeholders, %< %> and %><

From: Duy Nguyen <hidden>
Date: 2016-06-15 22:56:52

On Wed, Apr 17, 2013 at 6:41 AM, Junio C Hamano [off-list ref] wrote:
Nguyễn Thái Ngọc Duy  [off-list ref] writes:
quoted
+delete_trailing_dollar() {
+     sed 's/\$$//'
+}
This is what we have qz_to_tab_space for, isn't it?
Thanks! I looked for something like this, but my eyes focused on
similar sed line and forgot the "tr"
--
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help