linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-clone problem
@ 2008-06-13  7:44 Shen Feng
  2008-06-13 15:43 ` Theodore Tso
  0 siblings, 1 reply; 2+ messages in thread
From: Shen Feng @ 2008-06-13  7:44 UTC (permalink / raw)
  To: linux-ext4

Hello,

When I try to clone the ext4 development tree, I got the following error.
Is there anything wrong?


[fenian@localhost ~]$ git-clone http://www.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git
Initialized empty Git repository in /home/fenian/ext4/.git/
Getting alternates list for http://www.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git
Also look at http://www.kernel.org/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/
Getting pack list for http://www.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git
Getting index for pack baa9df600683550be458e0a94470c81726b0cf0b
Getting pack baa9df600683550be458e0a94470c81726b0cf0b
 which contains 60badd00b131a5e8db3e765959aed5c41a5796c6
walk 60badd00b131a5e8db3e765959aed5c41a5796c6
walk 7decd67852ad1cdb9fc1ac165d11b69845e9d650
Getting pack list for http://www.kernel.org/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/
error: Unable to find 060a71d41ad7ccc3214065a182e6f67568420071 under http://www.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git
Cannot obtain needed blob 060a71d41ad7ccc3214065a182e6f67568420071
while processing commit 7decd67852ad1cdb9fc1ac165d11b69845e9d650.

-Shen Feng

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

* Re: git-clone problem
  2008-06-13  7:44 git-clone problem Shen Feng
@ 2008-06-13 15:43 ` Theodore Tso
  0 siblings, 0 replies; 2+ messages in thread
From: Theodore Tso @ 2008-06-13 15:43 UTC (permalink / raw)
  To: Shen Feng; +Cc: linux-ext4

On Fri, Jun 13, 2008 at 03:44:04PM +0800, Shen Feng wrote:
> Hello,
> 
> When I try to clone the ext4 development tree, I got the following error.
> Is there anything wrong?
> 
> [fenian@localhost ~]$ git-clone http://www.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git

Dont use the http transport; it's not very efficient, and often
breaks.  I've fixed it for now (the hook to automatically run "git
update-server-info" was missing), but you'll get much faster and more
reliable results if you clone via the URL:

git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git

Actually the best thing to do is if you already have a local
repository of the kernel, to do:

git clone -s my-clone-of-linus-tree ext4

The edit the .git/config file so the url for [remote "master"] is:

    git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git

... and do a "git pull".  This will be much more efficient since you
limit the amount of data that you have to pull down over the network.

Note that the ext4 patch queue tends to have a much more dynamic and
bleeding-edge set of patches than the ext4 git tree.  The ext4 patch
queue is a quilt patch series maintained at this git repository:

      git://repo.or.cz/ext4-patch-queue.git

	      	     	     	      	       - Ted

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

end of thread, other threads:[~2008-06-13 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13  7:44 git-clone problem Shen Feng
2008-06-13 15:43 ` Theodore Tso

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