upload-pack: share more code
[gitweb.git] / log-tree.h
index c6a944a83867fbd3ed21ec2e78a8bacfb63e7cda..9140f48216be10085c9a1aea7ef1d210817c3332 100644 (file)
@@ -21,8 +21,7 @@ void log_write_email_headers(struct rev_info *opt, struct commit *commit,
 void load_ref_decorations(int flags);
 
 #define FORMAT_PATCH_NAME_MAX 64
-void get_patch_filename(struct strbuf *buf,
-                       struct commit *commit, const char *subject,
-                       struct rev_info *);
+void fmt_output_commit(struct strbuf *, struct commit *, struct rev_info *);
+void fmt_output_subject(struct strbuf *, const char *subject, struct rev_info *);
 
 #endif