Re: [PATCH 2/4] Export some email and pretty-printing functions
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Feb 18, 2008, 22:24 UTC
- Message-ID
- <alpine.LNX.1.00.0802181704240.5816@iabervon.org>
- In-Reply-To
- <alpine.LNX.1.00.0802181245580.5816@iabervon.org>
On Mon, 18 Feb 2008, Daniel Barkalow wrote:
Show 13 quoted lines
> On Mon, 18 Feb 2008, Johannes Schindelin wrote: > > > In addition to Junio's concern that add_user_info() really wants to be > > called pp_add_user_info(), I cannot help myself but suspect that > > pp_write_email_headers() -- which called for a new name, too -- also wants > > to live in pretty.c. > > Good idea, although I think "pp" is a verb about putting the result in the > provided strbuf, so "pp_user_info()" and "pp_email_headers()". > > It's different, currently, in that it actually outputs the headers, rather > than putting them in a buffer and uses struct rev_info. I'll need to work > on this some more.
It's pretty firmly tied to a different style from the pp_* functions, so I think I'll make it log_write_email_headers() for this series.
-Daniel *This .sig left intentionally blank*