format-patch: move get_patch_filename() into log-tree
Signed-off-by: Stephen Boyd <bebarino@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
cd2ef591c8
commit
6fa8e6278b
@ -19,4 +19,8 @@ void log_write_email_headers(struct rev_info *opt, const char *name,
|
||||
int *need_8bit_cte_p);
|
||||
void load_ref_decorations(void);
|
||||
|
||||
#define FORMAT_PATCH_NAME_MAX 64
|
||||
void get_patch_filename(struct commit *commit, int nr, const char *suffix,
|
||||
struct strbuf *buf);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user