git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bug report, error : Unable to find 000000000.....
@ 2007-02-28 19:24 Jeremy Sw
  2007-02-28 21:09 ` Peter Baumann
  0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Sw @ 2007-02-28 19:24 UTC (permalink / raw)
  To: git


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 !
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bug report, error : Unable to find 000000000.....
  2007-02-28 19:24 bug report, error : Unable to find 000000000 Jeremy Sw
@ 2007-02-28 21:09 ` Peter Baumann
  2007-02-28 21:34   ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Baumann @ 2007-02-28 21:09 UTC (permalink / raw)
  To: git

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.

-Peter

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bug report, error : Unable to find 000000000.....
  2007-02-28 21:09 ` Peter Baumann
@ 2007-02-28 21:34   ` Junio C Hamano
  2007-03-01 12:53     ` James Ketrenos
  0 siblings, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2007-02-28 21:34 UTC (permalink / raw)
  To: Peter Baumann; +Cc: git, Jeremy Sw, James Ketrenos

Peter Baumann <siprbaum@stud.informatik.uni-erlangen.de> writes:

> 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".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bug report, error : Unable to find 000000000.....
  2007-02-28 21:34   ` Junio C Hamano
@ 2007-03-01 12:53     ` James Ketrenos
  0 siblings, 0 replies; 4+ messages in thread
From: James Ketrenos @ 2007-03-01 12:53 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Peter Baumann, git, Jeremy Sw

Junio C Hamano wrote:

> 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".

The above does explain the breakage.  The script that created snapshot 
tarballs for ipwraw was written was copying .git/HEAD to the tag name in 
.git/refs/tags... at some point .git/HEAD changed from being an actual 
symlink to master to being a normal file containing 'ref: refs/heads/master'

I believe I have fixed it now.

Thanks,
James

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-01 18:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-28 19:24 bug report, error : Unable to find 000000000 Jeremy Sw
2007-02-28 21:09 ` Peter Baumann
2007-02-28 21:34   ` Junio C Hamano
2007-03-01 12:53     ` James Ketrenos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).