]> git.ipfire.org Git - thirdparty/git.git/blobdiff - dir.h
setup: return correct prefix if worktree is '/'
[thirdparty/git.git] / dir.h
diff --git a/dir.h b/dir.h
index 72a764ed84828e4a6336d2880f2167fbc9d3143a..86a99ed9c1be3dce3434f989cde8f1501f50472a 100644 (file)
--- a/dir.h
+++ b/dir.h
@@ -83,6 +83,7 @@ extern int file_exists(const char *);
 
 extern char *get_relative_cwd(char *buffer, int size, const char *dir);
 extern int is_inside_dir(const char *dir);
+extern int dir_inside_of(const char *subdir, const char *dir);
 
 static inline int is_dot_or_dotdot(const char *name)
 {