path-utils test: rename mingw_path function to print_path
commit7ffd18fce1eef2670661c2e7fd0cb3ef0b8b7fb7
authorSebastian Schuberth <sschuberth@gmail.com>
Thu, 10 Oct 2013 20:49:43 +0000 (10 22:49 +0200)
committerJonathan Nieder <jrnieder@gmail.com>
Mon, 14 Oct 2013 14:32:53 +0000 (14 07:32 -0700)
treeda0dab11f7a2d0fb521bf2291bf0072b2677523b
parentf85f7947c38359c05b9df28fafe769fde9341326
path-utils test: rename mingw_path function to print_path

mingw_path was introduced in abd4284 to output a mangled path as it is
passed as an argument to main(). But the name is misleading because
mangling does not come from MinGW, but from MSYS [1]. As abd4284 does not
introduce any MSYS or MinGW specific code but just prints out argv[2] as
it is passed to main(), give the function the more generic and less
confusing name "print_path".

[1] http://www.mingw.org/wiki/Posix_path_conversion

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
t/t0060-path-utils.sh
test-path-utils.c