From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.176.0/21 X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 From: Carl Worth Subject: Re: Cleaning up git user-interface warts Date: Thu, 16 Nov 2006 10:13:51 -0800 Message-ID: <87slgjb6ow.wl%cworth@cworth.org> References: <87k61yt1x2.wl%cworth@cworth.org> <455A1137.8030301@shadowen.org> <87hcx1u934.wl%cworth@cworth.org> <87bqn9u43s.wl%cworth@cworth.org> <7vbqn9y6w6.fsf@assigned-by-dhcp.cox.net> <7v3b8ltq7r.fsf@assigned-by-dhcp.cox.net> <455BBCE9.4050503@xs4all.nl> <455C412D.1030408@xs4all.nl> <455C94FA.3050903@xs4all.nl> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Thu_Nov_16_10:13:46_2006-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit NNTP-Posting-Date: Thu, 16 Nov 2006 18:14:21 +0000 (UTC) Cc: Han-Wen Nienhuys , Junio C Hamano , git@vger.kernel.org Return-path: Envelope-to: gcvg-git@gmane.org In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.4 Mule/5.0 (SAKAKI) Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gklkd-0002Go-JT for gcvg-git@gmane.org; Thu, 16 Nov 2006 19:14:15 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423742AbWKPSOL (ORCPT ); Thu, 16 Nov 2006 13:14:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1424125AbWKPSOL (ORCPT ); Thu, 16 Nov 2006 13:14:11 -0500 Received: from theworths.org ([217.160.253.102]:39608 "EHLO theworths.org") by vger.kernel.org with ESMTP id S1423742AbWKPSOK (ORCPT ); Thu, 16 Nov 2006 13:14:10 -0500 Received: (qmail 20834 invoked from network); 16 Nov 2006 13:14:08 -0500 Received: from localhost (HELO raht.cworth.org) (127.0.0.1) by localhost with SMTP; 16 Nov 2006 13:14:08 -0500 To: Linus Torvalds Sender: git-owner@vger.kernel.org --pgp-sign-Multipart_Thu_Nov_16_10:13:46_2006-1 Content-Type: text/plain; charset=US-ASCII On Thu, 16 Nov 2006 09:17:32 -0800 (PST), Linus Torvalds wrote: > So the way you'd normally set up a single repo that contains multiple > other existing repositories is to basically start with one ("git clone") > and then add the other branches and "git fetch" them. For that we'd also need a way for clone to be able to fetch just a single branch, and not all of them as well. There is some clone vs. fetch asymmetry here that has annoyed me for a while, and that I don't think has been mentioned in this thread yet. Namely: clone: can only be executed once, fetches all branches, "remembers" URLs for later simplified use fetch: can be executed many times, fetches only named branches, doesn't remember anything for later I've often been in the situation where I cloned a long time ago, but I'd like to be able to fetch everything that I would get if I were to start a fresh clone. -Carl --pgp-sign-Multipart_Thu_Nov_16_10:13:46_2006-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFXKpf6JDdNq8qSWgRAp4VAJ9O7f4PPkLjxrV5HlExEWLplANeSwCfZTLk RL2xlSElw88APwlQ2lvJBVw= =8PX8 -----END PGP SIGNATURE-----