aboutsummaryrefslogtreecommitdiffstats
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-08 16:20:59 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-08 16:20:59 -0700
commit26c8a533afac9540e46e7d7707d9179772c6d2c8 (patch)
treee120298e53f63cc6fd50984a3111d96da900f780 /cache.h
parent5c5dc2fb51ad43100881d563a9d07ac1b70a5607 (diff)
downloadgit-26c8a533afac9540e46e7d7707d9179772c6d2c8.tar.gz
Add "mkpath()" helper function
I'm bored with doing it by hand all the time.
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
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);