git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Dmitry Kakurin
Message 2 of 2 in “'git clone git://...' was failing inside git-read-tree with 'fatal: Not a valid object name HEAD'”
  1. 'git clone git://...' was failing inside git-read-tree with 'fatal: Not a valid object name HEAD'Dmitry Kakurin, Aug 4, 2007
  2. Johannes SchindelinAug 4, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.