index 188428dd26b7d9bf8dc0b9cd1a02ebca6d459400..35a91320a50d3f0f720e4fc3672f7667934e04f9 100644 (file)
--- a/cache.h
+++ b/cache.h
char *enter_repo(char *path, int strict);
static inline int is_absolute_path(const char *path)
{
- return path[0] == '/';
+ return path[0] == '/' || has_dos_drive_prefix(path);
}
const char *make_absolute_path(const char *path);
const char *make_nonrelative_path(const char *path);