Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add "mkpath()" helper function
[gitweb.git]
/
cache.h
diff --git
a/cache.h
b/cache.h
index 18584c99cf5b04345c9cc1f5015153a23197dccb..ff0321341d99c233e788f9d55fab88182fd981de 100644
(file)
--- 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);