summaryrefslogtreecommitdiff
path: root/log-tree.h
diff options
context:
space:
mode:
authorStephen Boyd <bebarino@gmail.com>2009-03-23 02:14:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-03-23 04:42:05 (GMT)
commit6fa8e6278b210bfa56fcb54ed38d2b485350e7c6 (patch)
tree823383ea9f4d4f82fb0a8b3be21a023b6ca0f95d /log-tree.h
parentcd2ef591c8e753fe5295ac3c6f1dee481f00a185 (diff)
downloadgit-6fa8e6278b210bfa56fcb54ed38d2b485350e7c6.zip
git-6fa8e6278b210bfa56fcb54ed38d2b485350e7c6.tar.gz
git-6fa8e6278b210bfa56fcb54ed38d2b485350e7c6.tar.bz2
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 f2a9008..78dc5be 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