Skip to content

Commit 0321f5d

Browse files
patthoytsdscho
authored andcommitted
Avoid absolute path in t0008
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>
1 parent 3a5007f commit 0321f5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

t/t0008-ignores.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ test_description=check-ignore
55
. ./test-lib.sh
66

77
init_vars () {
8-
global_excludes="$(pwd)/global-excludes"
8+
global_excludes="global-excludes"
99
}
1010

1111
enable_global_excludes () {

0 commit comments

Comments
 (0)