summaryrefslogtreecommitdiff
path: root/test-absolute-path.c
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@facebook.com>2008-05-20 06:48:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-05-23 21:11:20 (GMT)
commitae299be0e5e610027e6492d48d70c1cbb0e9edd8 (patch)
tree247e12f709c96df4eea12e5759c689a630b02143 /test-absolute-path.c
parent377d9c409ffe0f0d994b929aeb94716139207b9d (diff)
downloadgit-ae299be0e5e610027e6492d48d70c1cbb0e9edd8.zip
git-ae299be0e5e610027e6492d48d70c1cbb0e9edd8.tar.gz
git-ae299be0e5e610027e6492d48d70c1cbb0e9edd8.tar.bz2
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>
Diffstat (limited to 'test-absolute-path.c')
0 files changed, 0 insertions, 0 deletions