Re: [PATCH for "next"] pretty-formats: add 'format:<string>'
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 23, 2007, 01:07 UTC
- Message-ID
- <Pine.LNX.4.63.0702230204190.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <45DE3D5C.5060105@xs4all.nl>
Hi,
On Fri, 23 Feb 2007, Han-Wen Nienhuys wrote:
Show 5 quoted lines
> nitpick: > > \n > > for newline would be nice. Similar for backslash, formfeed, alarm, etc.
Yes, I thought about that. But it would change behaviour (even if I don't think it would do serious damage; the only user of interpolate.[ch] I saw is git-daemon, and that does not need \n, I guess).
Besides, "%n" is
- more consistent, - date(1) does it the same way, and - you can put BS, FF, AL, etc. into the format string before passing it as an option to git; git does not have to help you there.
Ciao, Dscho