From: Johannes Schindelin Date: Mon, 25 Jan 2016 16:48:37 GMT Subject: Re: [PATCH 16/19] mingw: avoid absolute path in t0008 Message-ID: In-Reply-To: Hi Junio, On Sun, 24 Jan 2016, Junio C Hamano wrote: > Johannes Schindelin writes: > > > From: Pat Thoyts > > > > The test separator char is a colon which means any absolute paths on > > Windows confuse the tests that use global_excludes. > > > > Suggested-by: Karsten Blees > > Signed-off-by: Pat Thoyts > > Signed-off-by: Johannes Schindelin > > --- > > t/t0008-ignores.sh | 8 +++++++- > > Is the fact that $global_excludes is specified using an absolute > path significant to the correctness of this test script? Apparently not. So I followed your suggestion and made this independent of the OS: https://github.com/dscho/git/commit/0b9eb308 > A larger question is if it would make more sense for Git ported to > Windows environment to use semicolon (that is the element separator > for %PATH% in the Windows land, right?) instead where POSIXy port > would use colon as the separator. A variable that is a list of > locations (e.g. $PATH) makes little sense when elements can only be > relative paths in practice. Oh my... I was not looking for more work ;-) Seriously again, I do agree with the suggestion to use semicolons on Windows as path lists' separators instead of colons. Ciao, Dscho