Revert "Git.pm: Always set Repository to absolute path if autodetecting"
commitc6cfa55f9ba5a0ba35ca95a89489ff2c5d3942ff
authorJohannes Sixt <j6t@kdbg.org>
Mon, 25 May 2009 08:34:12 +0000 (25 10:34 +0200)
committerJohannes Sixt <j6t@kdbg.org>
Tue, 10 Nov 2015 08:11:52 +0000 (10 09:11 +0100)
tree93cc8fb56c4ce0372de04598346f543099ef98ed
parent57493e65ffd1aed8e3efeeb722d71db1f972345a
Revert "Git.pm: Always set Repository to absolute path if autodetecting"

This reverts commit fe53bbc9bebb853f97f0da3f63f7fca5774e3f95.

Unfortunately, this change breaks MinGW git because the absolute path that
this produces is MSYS-style /c/path/to/repo, but git does not understand
this; it should be c:/path/to/repo. This value is ultimately assigned to
GIT_DIR, but the path name mangling that usually happens when an MSYS
program (like perl) spawns a non-MSYS program (like git) does not happen.
perl/Git.pm
t/t9700/test.pl