From 6aa33f4035d547ac2bd629b1cfd9c46262809d73 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 12 Jul 2005 11:49:27 -0700 Subject: Abstract out the "name date" handling of commit-tree.c We'll want to use it for the tagging too. --- cache.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cache.h') diff --git a/cache.h b/cache.h index f0eecb3d4c..1376700f19 100644 --- a/cache.h +++ b/cache.h @@ -211,6 +211,9 @@ const char *show_date(unsigned long time, int timezone); void parse_date(const char *date, char *buf, int bufsize); void datestamp(char *buf, int bufsize); +extern int setup_ident(void); +extern char *get_ident(const char *name, const char *email, const char *date_str); + static inline void *xmalloc(size_t size) { void *ret = malloc(size); -- cgit v1.2.3