]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
Use nonrelative paths instead of absolute paths for cloned repositories
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index 092a997b073090e14feaa4825e821af040101eb6..0a63c0eae60ea41025b153874e9dbbbb0523f6b7 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -524,6 +524,7 @@ static inline int is_absolute_path(const char *path)
        return path[0] == '/';
 }
 const char *make_absolute_path(const char *path);
+const char *make_nonrelative_path(const char *path);
 
 /* Read and unpack a sha1 file into memory, write memory to a sha1 file */
 extern int sha1_object_info(const unsigned char *, unsigned long *);