path.c
6.1 KB
-
Restore portability to git_path_prettify. · 7e443f69
It turns out that passing NULL for the second parameter of realpath(3) is not as portable as one might like. Notably, Mac OS 10.5 and earlier does not support it. So this moves us back to a large buffer to get the realpath info.
Russell Belfer committed