Re: [MinGW PATCH] 'git clone git://...' was failing inside git-read-tree with 'fatal: Not a valid object name HEAD'
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 4, 2007, 14:16 UTC
- Message-ID
- <Pine.LNX.4.64.0708041515251.14781@racer.site>
- In-Reply-To
- <F7C35F51E58245FDA1EE1C2F2B4EB204@ntdev.corp.microsoft.com>
Hi,
On Sat, 4 Aug 2007, Dmitry Kakurin wrote:
> NOTE: This fix uses is_absolute_path from msysGit-0.3.exe that is not in > mingw.git yet.
Ooops. I think I did not even check that into msysgit.git. Thanks.
> - if (gitdirenv[0] != '/') {
> + if ( !is_absolute_path( gitdirenv ) ) {Our coding style does not want them extra spaces...
+ if (!is_absolute_path(gitdirenv)) {is the way we prefer it.
Ciao, Dscho