Re: [PATCH 2/4] Export some email and pretty-printing functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sun, 17 Feb 2008, Daniel Barkalow wrote:

> diff --git a/commit.h b/commit.h
> index 10e2b5d..42b4825 100644
> --- a/commit.h
> +++ b/commit.h
> @@ -71,6 +71,21 @@ extern void pretty_print_commit(enum cmit_fmt fmt, const struct commit*,
>                                  int abbrev, const char *subject,
>                                  const char *after_subject, enum date_mode,
>  				int non_ascii_present);
> +void add_user_info(const char *what, enum cmit_fmt fmt, struct strbuf *sb,
> +		   const char *line, enum date_mode dmode,
> +		   const char *encoding);
> +void pp_title_line(enum cmit_fmt fmt,
> +		   const char **msg_p,
> +		   struct strbuf *sb,
> +		   const char *subject,
> +		   const char *after_subject,
> +		   const char *encoding,
> +		   int plain_non_ascii);
> +void pp_remainder(enum cmit_fmt fmt,
> +		  const char **msg_p,
> +		  struct strbuf *sb,
> +		  int indent);
> +

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.

Ciao,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux