Skip to contentSkip to conversation

git pull fails ?!

U-Boot Hannes Petermaier 2 participants 3 messages Jul 15, 2014

lore
Share & tools
lore
#0 lore raw

Hello,

at this moment i tried to fetch newest u-boot using 'git pull'

GIT answered to me:

error: Unable to find 524123a70761110c5cf3ccc5f52f6d4da071b959 under
http://git.denx.de/u-boot.git
Cannot obtain needed object 524123a70761110c5cf3ccc5f52f6d4da071b959
error: Fetch failed.

does anybody know whats going wrong?

best regards,
Hannes

#1 lore raw

Dear Hannes Petermaier,

Quoted 11 lines · In message <[email protected]> you wrote:

at this moment i tried to fetch newest u-boot using 'git pull'

GIT answered to me:

error: Unable to find 524123a70761110c5cf3ccc5f52f6d4da071b959 under
http://git.denx.de/u-boot.git
Cannot obtain needed object 524123a70761110c5cf3ccc5f52f6d4da071b959
error: Fetch failed.

does anybody know whats going wrong?

It works for me, both pulling into an existing repo and cloning from scratch. eventually you have local problems. Try if "git gc --prune", eventually followed by "git pack-refs --prune" helps.

It it doesn't, then clone from scratch.

And of course you should use git protocol rather than HTTP.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Never ascribe to malice that which can  adequately  be  explained  by
stupidity.
#2 lore raw

Dear Wolfgang,

I am using the git protocol but only a clone from scratch worked for me.

many thanks and best regards,
hannes

Quoted 26 lines · Wolfgang Denk

Dear Hannes Petermaier,

Quoted 10 lines · In message <[email protected]> you wrote:

at this moment i tried to fetch newest u-boot using 'git pull'

GIT answered to me:

error: Unable to find 524123a70761110c5cf3ccc5f52f6d4da071b959 under
http://git.denx.de/u-boot.git
Cannot obtain needed object 524123a70761110c5cf3ccc5f52f6d4da071b959
error: Fetch failed.

does anybody know whats going wrong?

It works for me, both pulling into an existing repo and cloning from scratch. eventually you have local problems. Try if "git gc --prune", eventually followed by "git pack-refs --prune" helps.

It it doesn't, then clone from scratch.

And of course you should use git protocol rather than HTTP.

Best regards,

Wolfgang Denk