From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH] Documentation: add a planning document for the next CLI revamp Date: Sun, 02 Nov 2008 14:27:57 -0800 Message-ID: <7v3ai9226q.fsf@gitster.siamese.dyndns.org> References: <20081030002239.D453B21D14E@mail.utsl.gen.nz> <20081031003154.GA5745@sigill.intra.peff.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sam Vilain , git@vger.kernel.org, Johannes Schindelin , Scott Chacon , Tom Preston-Werner , "J.H." , Christian Couder , Kai Blin To: Jeff King X-From: git-owner@vger.kernel.org Sun Nov 02 23:29:58 2008 connect(): Connection refused Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KwlSE-0003hE-Dh for gcvg-git-2@gmane.org; Sun, 02 Nov 2008 23:29:54 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753183AbYKBW2k (ORCPT ); Sun, 2 Nov 2008 17:28:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753098AbYKBW2k (ORCPT ); Sun, 2 Nov 2008 17:28:40 -0500 Received: from a-sasl-fastnet.sasl.smtp.pobox.com ([207.106.133.19]:49764 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752937AbYKBW2j (ORCPT ); Sun, 2 Nov 2008 17:28:39 -0500 Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 31D30778FE; Sun, 2 Nov 2008 17:28:38 -0500 (EST) Received: from pobox.com (ip68-225-240-211.oc.oc.cox.net [68.225.240.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 92862778F4; Sun, 2 Nov 2008 17:28:04 -0500 (EST) In-Reply-To: <20081031003154.GA5745@sigill.intra.peff.net> (Jeff King's message of "Thu, 30 Oct 2008 20:31:54 -0400") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Pobox-Relay-ID: 98211530-A92D-11DD-81A1-9CEDC82D7133-77302942!a-sasl-fastnet.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Jeff King writes: >> + * 'git push --matching' does what 'git push' does today (without >> + explicit configuration) > > I think this is reasonable even without other changes, just to override > any configuration. I don't. Can't you say "git push $there HEAD" these days? I vaguely recall that there is a way to configure push that way for people too lazy to type "origin HEAD" after "git push". >> + * 'git export' command that does what >> + 'git archive --format=tar --prefix=dir | tar x' does now > > I agree, if you mean "does what ... does now" means "looks to the user > like ... is happening". This is much more sanely done using > git-checkout-index (though somebody suggested "remote export", which > would need to use tar itself). I think I was neutral in the discussion that led to the removal of "git-export", but the rationale IIRC was exactly because "git-export" can be done by simply piping "git-tar" to tar. On the other hand, if all you had was "export" and you wanted to create a release tar/zip ball, you have to first create a (potentially huge) hierarchy in the filesystem only to archive it. This change needs to defend that the benefit of being able to create a new non-git checkout elsewhere on the filesystem far outweighs the downside of addition of another command (i.e. "eek, why does git have that many commands" from new people).