Re: cannot fetch arm git tree
From: Uwe Kleine-König <hidden>
Date: 2016-06-15 22:50:25
Also in:
linux-arm-kernel
Hello Jello, On Sun, Jan 16, 2011 at 09:23:15AM +0000, Russell King - ARM Linux wrote:
On Sun, Jan 16, 2011 at 10:28:55AM +0800, Jello huang wrote:quoted
Dear Russell, when i use git fetch,there arm some wrong with it. jello@jello-laptop:~/git/russell/linux-2.6-arm$git pull error: Unable to find 89e4d4b145bb7e73b4c45671a84b401a5d8694c1 under http://ftp.arm.linux.org.uk/pub/armlinux/kernel/git-cur/linux-2.6-arm.git Cannot obtain needed blob 89e4d4b145bb7e73b4c45671a84b401a5d8694c1 while processing commit eda2e5dcc914b4d70f665443efc9780e89a5e5c1. error: Fetch failed. What is the wrong?No idea. The tree has the object file in one of its pack files: | rmk@ZenIV:[linux-2.6-arm.git]:<1020> GIT_DIR=. git cat-file -p 89e4d4b145bb7e73b4c45671a84b401a5d8694c1|head | | List of maintainers and how to submit kernel changes | | Please try to follow the guidelines below. This will make things | easier on the maintainers. Not all of these guidelines matter for every | trivial patch so apply some common sense. and the pack info file lists all the pack files. Maybe you have a hash collision on a pack file with your repository?
Probably you have a corrupted pack file. Try renaming all packfiles listed in http://ftp.arm.linux.org.uk/pub/armlinux/kernel/git-cur/linux-2.6-arm.git/objects/info/packs (i.e. .git/objects/pack/pack-74405a23171b6debd894d4791e06956d6387022a.pack etc.) and try refetching then. This happend to me after Ctrl-Cing an earlier git-fetch. Git doesn't seem to handle that case. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |