diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 11:49:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 11:49:27 -0700 |
commit | 6aa33f4035d547ac2bd629b1cfd9c46262809d73 (patch) | |
tree | 539198e1f042cdef705e654df8d995b6c2747227 /cache.h | |
parent | 26a2d8ae898f5442904dd2fbf89c5fe34480ea85 (diff) | |
download | git-6aa33f4035d547ac2bd629b1cfd9c46262809d73.tar.gz git-6aa33f4035d547ac2bd629b1cfd9c46262809d73.tar.xz |
Abstract out the "name <email> date" handling of commit-tree.c
We'll want to use it for the tagging too.
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |