author | David Reiss <dreiss@facebook.com> | |
Tue, 20 May 2008 06:48:54 +0000 (23:48 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 23 May 2008 21:11:20 +0000 (14:11 -0700) | ||
commit | ae299be0e5e610027e6492d48d70c1cbb0e9edd8 | |
tree | 247e12f709c96df4eea12e5759c689a630b02143 | tree | snapshot |
parent | 377d9c409ffe0f0d994b929aeb94716139207b9d | commit | diff |
Implement normalize_absolute_path
normalize_absolute_path removes several oddities form absolute paths,
giving nice clean paths like "/dir/sub1/sub2". Also add a test case
for this utility, based on a new test program (in the style of test-sha1).
Signed-off-by: David Reiss <dreiss@facebook.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
normalize_absolute_path removes several oddities form absolute paths,
giving nice clean paths like "/dir/sub1/sub2". Also add a test case
for this utility, based on a new test program (in the style of test-sha1).
Signed-off-by: David Reiss <dreiss@facebook.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitignore | diff | blob | history | |
Makefile | diff | blob | history | |
cache.h | diff | blob | history | |
path.c | diff | blob | history | |
t/t0060-path-utils.sh | [new file with mode: 0755] | blob |
test-path-utils.c | [new file with mode: 0644] | blob |