Git does not understand absolute Win'dos' path
- From
- Martin Lichtin <lichtin@yahoo.com>
- Date
- Nov 14, 2012, 09:12 UTC
- Message-ID
- <1352884329.28981.YahooMailNeo@web162504.mail.bf1.yahoo.com>
Hi
Maven's release plugin prepares a call Git like in this example:
cmd.exe /X /C "git commit --verbose -F C:\cygwin\tmp\maven-scm-915771020.commit pom.xml"
Git doesn't seem to understand the -F argument and treats it like a relative path (relative to the repository root):
$ cmd.exe /X /C "git commit --verbose -F C:\cygwin\tmp\commit pom.xml" fatal: could not read log file 'mytestdir/C:\cygwin\tmp\commit': No such file or directory