diff options
author | Stephen Boyd <bebarino@gmail.com> | 2009-03-22 19:14:04 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-22 21:42:05 -0700 |
commit | 6fa8e6278b210bfa56fcb54ed38d2b485350e7c6 (patch) | |
tree | 823383ea9f4d4f82fb0a8b3be21a023b6ca0f95d /log-tree.h | |
parent | cd2ef591c8e753fe5295ac3c6f1dee481f00a185 (diff) | |
download | git-6fa8e6278b210bfa56fcb54ed38d2b485350e7c6.tar.gz |
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>
Diffstat (limited to 'log-tree.h')
-rw-r--r-- | log-tree.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/log-tree.h b/log-tree.h index f2a90084ae..78dc5be76f 100644 --- a/log-tree.h +++ b/log-tree.h @@ -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 |