]> git.proxmox.com Git - libgit2.git/commit - src/libgit2/repository.c
fileops: Drop `git_fileops_prettify_path`
authorVicent Marti <tanoku@gmail.com>
Mon, 4 Jul 2011 18:05:11 +0000 (20:05 +0200)
committerVicent Marti <tanoku@gmail.com>
Tue, 5 Jul 2011 00:06:26 +0000 (02:06 +0200)
commit5ad739e8328c665b629e2285abaec7e12ea8397c
treebe0677bcaeaa318bf20b8fa765e3bf478fb5bc55
parentf79026b4912bcd2336667f4c1663c06e233f0b32
fileops: Drop `git_fileops_prettify_path`

The old `git_fileops_prettify_path` has been replaced with
`git_path_prettify`. This is a much simpler method that uses the OS's
`realpath` call to obtain the full path for directories and resolve
symlinks.

The `realpath` syscall is the original POSIX call in Unix system and
an emulated version under Windows using the Windows API.
src/fileops.c
src/fileops.h
src/path.c
src/path.h
src/repository.c
src/unix/posix.h
src/win32/posix.c
src/win32/posix.h
tests/t12-repo.c