From: Pat Thoyts Date: Wed, 27 Jan 2016 16:20:03 +0000 (+0100) Subject: t0008: avoid absolute path X-Git-Tag: v2.8.0-rc0~54^2~6 X-Git-Url: http://git.bitbasher.net/?a=commitdiff_plain;h=2b3abd45bdd8a9dfd80dd07dfbc3745a69b21abc;p=git.git t0008: avoid absolute path The colon is used by check-ignore to separate paths from other output values. If we use an absolute path, however, on Windows it will be converted into a Windows path that very much contains a colon. It is actually not at all necessary to make the path of the global excludes absolute, so let's just not even do that. Based on suggestions by Karsten Blees and Junio Hamano. Suggested-by: Karsten Blees Signed-off-by: Pat Thoyts Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- diff --git a/t/t0008-ignores.sh b/t/t0008-ignores.sh index 4ef5ed484c..89544dd833 100755 --- a/t/t0008-ignores.sh +++ b/t/t0008-ignores.sh @@ -5,7 +5,7 @@ test_description=check-ignore . ./test-lib.sh init_vars () { - global_excludes="$(pwd)/global-excludes" + global_excludes="global-excludes" } enable_global_excludes () {