diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-08 16:20:59 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-08 16:20:59 -0700 |
commit | 26c8a533afac9540e46e7d7707d9179772c6d2c8 (patch) | |
tree | e120298e53f63cc6fd50984a3111d96da900f780 /cache.h | |
parent | 5c5dc2fb51ad43100881d563a9d07ac1b70a5607 (diff) | |
download | git-26c8a533afac9540e46e7d7707d9179772c6d2c8.tar.gz git-26c8a533afac9540e46e7d7707d9179772c6d2c8.tar.xz |
Add "mkpath()" helper function
I'm bored with doing it by hand all the time.
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |