From 26c8a533afac9540e46e7d7707d9179772c6d2c8 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 8 Jul 2005 16:20:59 -0700 Subject: Add "mkpath()" helper function I'm bored with doing it by hand all the time. --- cache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cache.h') diff --git a/cache.h b/cache.h index 18584c99cf..ff0321341d 100644 --- a/cache.h +++ b/cache.h @@ -158,6 +158,7 @@ extern void rollback_index_file(struct cache_file *); #define TYPE_CHANGED 0x0040 /* Return a statically allocated filename matching the sha1 signature */ +extern char *mkpath(const char *fmt, ...); extern char *git_path(const char *fmt, ...); extern char *sha1_file_name(const unsigned char *sha1); -- cgit v1.2.1