summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-10-28 17:42:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-10-28 17:42:30 (GMT)
commite22c1c7f19914aa0dc1b6fe65bbfafed265d6e7f (patch)
treecc9fe2c10ec884cf474443bca6ac511065c95432 /cache.h
parent3d092bfc6f2d9a998967979f926c661e9762601c (diff)
parent41894ae3a315f75ebc924881c6ce9a69d70ce9c0 (diff)
downloadgit-e22c1c7f19914aa0dc1b6fe65bbfafed265d6e7f.zip
git-e22c1c7f19914aa0dc1b6fe65bbfafed265d6e7f.tar.gz
git-e22c1c7f19914aa0dc1b6fe65bbfafed265d6e7f.tar.bz2
Merge branch 'jx/relative-path-regression-fix'
* jx/relative-path-regression-fix: Use simpler relative_path when set_git_dir relative_path should honor dos-drive-prefix test: use unambigous leading path (/foo) for MSYS
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 5e3fc72..70ad174 100644
--- a/cache.h
+++ b/cache.h
@@ -751,6 +751,7 @@ int is_directory(const char *);
const char *real_path(const char *path);
const char *real_path_if_valid(const char *path);
const char *absolute_path(const char *path);
+const char *remove_leading_path(const char *in, const char *prefix);
const char *relative_path(const char *in, const char *prefix, struct strbuf *sb);
int normalize_path_copy_len(char *dst, const char *src, int *prefix_len);
int normalize_path_copy(char *dst, const char *src);