Re: [PATCH 1/3] Export format_commit_message()
- From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
- Date
- Sep 3, 2007, 18:44 UTC
- Message-ID
- <46DC55FA.6040905@lsrfire.ath.cx>
- In-Reply-To
- <Pine.LNX.4.64.0709031934480.28586@racer.site>
Johannes Schindelin schrieb:
Show 9 quoted lines
>> -static long format_commit_message(const struct commit *commit, >> - const char *msg, char **buf_p, unsigned long *space_p) >> +long format_commit_message(const struct commit *commit, const void *template, >> + char **buf_p, unsigned long *space_p) > > I am quite sure that this breaks compilation in C++. > > Besides, "format" is so much more descriptive here IMHO. What is so wrong > with "format" for you?
I have nothing against naming the parameter "format", actually. This name simply didn't occur to me -- weird but true. :-]
René