mirror of
https://github.com/git/git.git
synced 2026-02-03 06:21:39 +00:00
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>
This commit is contained in:
committed by
Johannes Schindelin
parent
4c81d71c47
commit
039fec08bb
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user