]> git.ipfire.org Git - thirdparty/git.git/blobdiff - commit.h
Provide a build time default-editor setting
[thirdparty/git.git] / commit.h
index f4fc5c5589a3ae6f2b99e533c3dd0f3a7a7f418a..95f981a1a93989d89edb0c5b850fa86db2071b50 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -70,7 +70,7 @@ extern char *reencode_commit_message(const struct commit *commit,
                                     const char **encoding_p);
 extern void get_commit_format(const char *arg, struct rev_info *);
 extern void format_commit_message(const struct commit *commit,
-                                 const void *format, struct strbuf *sb,
+                                 const char *format, struct strbuf *sb,
                                  enum date_mode dmode);
 extern void pretty_print_commit(enum cmit_fmt fmt, const struct commit*,
                                 struct strbuf *,