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 <karsten.blees@gmail.com> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Pat Thoyts committed Jan 27, 2016 at 17:20 UTC 2b3abd45bdd8a9dfd80dd07dfbc3745a69b21abc
1 file changed +1 -1
t/t0008-ignores.sh
+1 -1
@@ -5,7 +5,7 @@ test_description=check-ignore
5 . ./test-lib.sh
6
7 init_vars () {
8 - global_excludes="$(pwd)/global-excludes"
8 + global_excludes="global-excludes"
9 }
10
11 enable_global_excludes () {