From: Johannes Schindelin Date: Wed, 27 Jan 2016 16:20:03 GMT Subject: [PATCH v3 15/20] Avoid absolute path in t0008 Message-ID: <76f9af37dd63413fad5b47635a6bd82c2f7e9011.1453911367.git.johannes.schindelin@gmx.de> In-Reply-To: From: Pat Thoyts 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 --- t/t0008-ignores.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t0008-ignores.sh b/t/t0008-ignores.sh index 4ef5ed4..89544dd 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 () { -- 2.7.0.windows.1.7.g55a05c8