Library code for user-relative paths, take three.
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index f93f516815fdfdbdc105db9f825376b241bbe75f..e2be3e7b0eeb7831766a77e1d3d188524f93d235 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -192,6 +192,7 @@ extern int diff_rename_limit_default;
 
 /* Return a statically allocated filename matching the sha1 signature */
 extern char *mkpath(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
+extern char *enter_repo(char *path, int strict);
 extern char *git_path(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
 extern char *sha1_file_name(const unsigned char *sha1);
 extern char *sha1_pack_name(const unsigned char *sha1);