{"thread":{"id":"1987","subject":"local clone much slower than remote clone","startedAt":"2005-10-01T02:45:54Z","lastAt":"2005-10-01T05:57:46Z","messageCount":3,"participants":["Jeff Garzik","Yasushi SHOJI","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"9574","messageId":"433DF862.4020500@pobox.com","threadId":"1987","inReplyTo":null,"subject":"local clone much slower than remote clone","fromName":"Jeff Garzik","fromEmail":"jgarzik@pobox.com","sentAt":"2005-10-01T02:45:54Z","receivedAt":"2005-10-01T02:45:54Z","isPatch":false,"sender":{"key":"jgarzik@pobox.com","avatar":null},"body":"\nCase 1: remote clone\n\ntime git clone \nrsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git \nscsi-sas-2.6\n...\nreal    3m36.432s\nuser    0m0.584s\nsys     0m0.656s\n\n\nCase 2: local clone\ntime git clone /spare/repo/linux-2.6 scsi-sas-2.6\n...\nPacking 99084 objects\nUnpacking 99084 objects\n...\nreal    4m31.876s\nuser    4m43.618s\nsys     0m40.047s\n\n\nDownloading an entire kernel tree over cable modem is almost a minute \nfaster than a local clone!  IMHO the local clone should just hardlink \nthe packs and objects, and be done with it.\n\n\tJeff\n"},{"id":"9575","messageId":"87fyrlg9no.wl@mail2.atmark-techno.com","threadId":"1987","inReplyTo":"433DF862.4020500@pobox.com","subject":"Re: local clone much slower than remote clone","fromName":"Yasushi SHOJI","fromEmail":"yashi@atmark-techno.com","sentAt":"2005-10-01T04:10:03Z","receivedAt":"2005-10-01T04:10:03Z","isPatch":false,"sender":{"key":"yashi@atmark-techno.com","avatar":"https://gravatar.com/avatar/4817e8703ac4379935834d87453faa9d0c94b9dc19d83fcc54c67875eb133e59?d=mp&s=160"},"body":"At Fri, 30 Sep 2005 22:45:54 -0400,\nJeff Garzik wrote:\n> \n> Downloading an entire kernel tree over cable modem is almost a minute \n> faster than a local clone!  IMHO the local clone should just hardlink \n> the packs and objects, and be done with it.\n\n    git clone -l\n\nperhaps?  -s would be nice too.\n--\n        yashi\n"},{"id":"9578","messageId":"7vslvlbwyt.fsf@assigned-by-dhcp.cox.net","threadId":"1987","inReplyTo":"433DF862.4020500@pobox.com","subject":"Re: local clone much slower than remote clone","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-10-01T05:57:46Z","receivedAt":"2005-10-01T05:57:46Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jeff Garzik <jgarzik@pobox.com> writes:\n\n> time git clone /spare/repo/linux-2.6 scsi-sas-2.6\n\n    $ git clone -l -s -n\n\nwould be the fastest.\n\nYes, -n is an irrelevant cheating ;-).\n"}]}