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

Re: bug report, error : Unable to find 000000000.....

From
Junio C Hamano <junkio@cox.net>
Date
Feb 28, 2007, 21:34 UTC
Message-ID
<7v8xei0xwk.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<slrneubrsd.2pm.siprbaum@xp.machine.xx>
Peter Baumann <siprbaum@stud.informatik.uni-erlangen.de> writes:
Show 25 quoted lines
> Jeremy Sw <kertejeremy@hotmail.com> schrieb:
>>
>> By running  # git clone http://intellinuxwireless.org/repos/ipwraw.git
>> git return an error when trying to Get alternates list.
>> the error is :
>> "error: Unable to find 0000000000000000000000000000000000000000 under http://intellinuxwireless.org/repos/ipwraw.git/
>> Cannot obtain needed object 0000000000000000000000000000000000000000"
>> apparently caused by a weird architecture of the tree !
>> there is 4 or 5 diffrents projects, but they have commun files because firmwares are related !
>
> I suggested on IRC to try this (I reproduced the error)
>
> mkdir test && cd test && \
> git-init && \
> git fetch http://intellinuxwireless.org/repos/ipwraw.git master:master
>
> and it works. Ok, fist I thought the error is in another branch, but
>
> git-ls-remote http://intellinuxwireless.org/repos/ipwraw.git
> 7e85b2032a864fcfe489085b768eea4b3a3a9d0b        refs/heads/master
> 7e85b2032a864fcfe489085b768eea4b3a3a9d0b        refs/heads/origin
> 7e85b2032a864fcfe489085b768eea4b3a3a9d0b        refs/tags/ipwraw-0.0.1
> 7e85b2032a864fcfe489085b768eea4b3a3a9d0b        refs/tags/ipwraw-0.0.2
>
> there is no other branch, at least as I could see.

The repository is seriously broken. If you try wget to see refs/tags/* files, you will find out that they are not even tags; they are symrefs and both point at the master branch.

I do not think the Porcelain-ish shipped with git creates symref in refs/tags/, so it was done by somebody playing with symbolic-ref by hand perhaps?

I'd suggest James to do delete these bogus refs/tags/* files and tag the correct commit with "git tag".

Previous: Peter BaumannNext: James Ketrenos
Message 3 of 4 in “bug report, error : Unable to find 000000000.....”
  1. Jeremy SwFeb 28, 2007
  2. Peter BaumannFeb 28, 2007
  3. Junio C HamanoFeb 28, 2007
  4. James KetrenosMar 1, 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.