summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-02-11 05:30:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-02-11 05:30:52 (GMT)
commit6e5d7ddc490fc7fdf46a5d0af35aa6fd64ae4a96 (patch)
treea145bfaa00806f84c982c0c4394eb9b8c002db8b /cache.h
parentfd8475d9fb76fbc435ba5dc5b7e97b0cad92661d (diff)
parentf2a782b8ba189b5ed51d18aa3eb93a670c220018 (diff)
downloadgit-6e5d7ddc490fc7fdf46a5d0af35aa6fd64ae4a96.zip
git-6e5d7ddc490fc7fdf46a5d0af35aa6fd64ae4a96.tar.gz
git-6e5d7ddc490fc7fdf46a5d0af35aa6fd64ae4a96.tar.bz2
Merge branch 'js/maint-1.6.0-path-normalize'
* js/maint-1.6.0-path-normalize: Remove unused normalize_absolute_path() Test and fix normalize_path_copy() Fix GIT_CEILING_DIRECTORIES on Windows Move sanitary_path_copy() to path.c and rename it to normalize_path_copy() Make test-path-utils more robust against incorrect use
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index d8ba693..7f1a6e8 100644
--- a/cache.h
+++ b/cache.h
@@ -627,7 +627,7 @@ int is_directory(const char *);
const char *make_absolute_path(const char *path);
const char *make_nonrelative_path(const char *path);
const char *make_relative_path(const char *abs, const char *base);
-int normalize_absolute_path(char *buf, const char *path);
+int normalize_path_copy(char *dst, const char *src);
int longest_ancestor_length(const char *path, const char *prefix_list);
/* Read and unpack a sha1 file into memory, write memory to a sha1 file */