aboutsummaryrefslogtreecommitdiff
path: root/t/t0008-ignores.sh
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2016-01-27 17:20:03 +0100
committerJunio C Hamano <gitster@pobox.com>2016-01-28 13:35:56 -0800
commit2b3abd45bdd8a9dfd80dd07dfbc3745a69b21abc (patch)
treeaa72d7b42291cb739fe457daedaa8b4bd1365779 /t/t0008-ignores.sh
parentfd318a941d8bb7cc832412f26a25313121cc0d21 (diff)
downloadgit-2b3abd45bdd8a9dfd80dd07dfbc3745a69b21abc.tar.gz
git-2b3abd45bdd8a9dfd80dd07dfbc3745a69b21abc.tar.xz
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>
Diffstat (limited to 't/t0008-ignores.sh')
-rwxr-xr-xt/t0008-ignores.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0008-ignores.sh b/t/t0008-ignores.sh
index 4ef5ed484..89544dd83 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 () {