summaryrefslogtreecommitdiffstats
path: root/log-tree.h
diff options
context:
space:
mode:
authorStephen Boyd <bebarino@gmail.com>2009-03-23 03:14:04 +0100
committerJunio C Hamano <gitster@pobox.com>2009-03-23 05:42:05 +0100
commit6fa8e6278b210bfa56fcb54ed38d2b485350e7c6 (patch)
tree823383ea9f4d4f82fb0a8b3be21a023b6ca0f95d /log-tree.h
parentformat-patch: pass a commit to reopen_stdout() (diff)
downloadgit-6fa8e6278b210bfa56fcb54ed38d2b485350e7c6.tar.xz
git-6fa8e6278b210bfa56fcb54ed38d2b485350e7c6.zip
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.h4
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