git-http-pull broken in latest git
From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:03
Dear diary, on Tue, Aug 09, 2005 at 06:06:10PM CEST, I got a letter where Dirk Behme [off-list ref] told me that...
Hello,
Hello,
quoted
cg-clone http://www.kernel.org/pub/scm/git/git.gitdefaulting to local storage area warning: templates not found /home/user/share/git-core/templates/ 16:29:03 URL:http://www.kernel.org/pub/scm/git/git.git/refs/heads/master [41/41] -> "refs/heads/origin" [1] progress: 3 objects, 5158 bytes Getting pack list error: Unable to get pack index http://www.kernel.org/pub/scm/git/git.git//objects/info/packs error: Tried http://www.kernel.org/pub/scm/git/git.git/objects/6f/f87c4664981e4397625791c8ea3bbb5f2279a3 Cannot obtain needed blob 6ff87c4664981e4397625791c8ea3bbb5f2279a3 while processing commit adee7bdf504120055b0f36b4918bdd3e6156912b. cg-pull: objects pull failed cg-clone: pull failed Is this a tool or repository issue?
it appears that git-http-pull is broken. It gives me a different error now and with the latest git, though. When using just core git: $ wget http://www.kernel.org/pub/scm/git/git.git/refs/heads/master $ mv master .git/refs/heads/ $ cat .git/refs/heads/master bf570303153902ec3d85570ed24515bcf8948848 $ git-http-pull -a -v $(cat .git/refs/heads/master) \ http://www.kernel.org/pub/scm/git/git.git/ Getting pack list Getting index for pack 3c5133604508466855453f3e609428f4bbba9131 Getting index for pack 37cba29d3df65b160afabe769470f7857f98d729 Getting pack 37cba29d3df65b160afabe769470f7857f98d729 which contains bf570303153902ec3d85570ed24515bcf8948848 $ git-cat-file commit bf570303153902ec3d85570ed24515bcf8948848 | grep tree tree 41f10531f1799bbb31a1e0f7652363154ce96f45 $ git-read-tree 41f10531f1799bbb31a1e0f7652363154ce96f45 fatal: failed to unpack tree object 41f10531f1799bbb31a1e0f7652363154ce96f45 Kaboom. I think the issue might be that the reference dependency tree building is broken and it should've pulled the other pack as well. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ If you want the holes in your knowledge showing up try teaching someone. -- Alan Cox