get_patch_filename(): simplify function signature
[gitweb.git] / log-tree.h
index f5ac238bba478851bb10b09f32ea75da05475267..c6a944a83867fbd3ed21ec2e78a8bacfb63e7cda 100644 (file)
@@ -21,7 +21,8 @@ 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 commit *commit, const char *subject, int nr,
-                       const char *suffix, struct strbuf *buf);
+void get_patch_filename(struct strbuf *buf,
+                       struct commit *commit, const char *subject,
+                       struct rev_info *);
 
 #endif