]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
Add git_snpath: a .git path formatting routine with output buffer
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index aea13b0822d56546f30a02eb366524e6993c55df..3d5a08ea81e927d59d0c50d26ad416d9baa9e7f7 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -482,6 +482,8 @@ extern int check_repository_format(void);
 
 extern char *mksnpath(char *buf, size_t n, const char *fmt, ...)
        __attribute__((format (printf, 3, 4)));
+extern char *git_snpath(char *buf, size_t n, const char *fmt, ...)
+       __attribute__((format (printf, 3, 4)));
 
 /* Return a statically allocated filename matching the sha1 signature */
 extern char *mkpath(const char *fmt, ...) __attribute__((format (printf, 1, 2)));