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=AWL,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: [RFC] A unique way to express "all" (vs "add vs "update") ? Date: Fri, 15 Dec 2006 15:07:20 -0800 Message-ID: <87mz5o4v2v.wl%cworth@cworth.org> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Fri_Dec_15_15:07:20_2006-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit NNTP-Posting-Date: Fri, 15 Dec 2006 23:08:39 +0000 (UTC) Cc: 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 dough.gmane.org with esmtp (Exim 4.50) id 1GvMAM-0007fa-GJ for gcvg-git@gmane.org; Sat, 16 Dec 2006 00:08:34 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030365AbWLOXIc (ORCPT ); Fri, 15 Dec 2006 18:08:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030367AbWLOXIc (ORCPT ); Fri, 15 Dec 2006 18:08:32 -0500 Received: from cworth.org ([217.160.249.188]:42043 "EHLO theworths.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1030365AbWLOXIb (ORCPT ); Fri, 15 Dec 2006 18:08:31 -0500 Received: (qmail 652 invoked from network); 15 Dec 2006 18:08:30 -0500 Received: from localhost (HELO raht.cworth.org) (127.0.0.1) by localhost with SMTP; 15 Dec 2006 18:08:30 -0500 To: t2a2e9z8ncbs9qg@brefemail.com Sender: git-owner@vger.kernel.org --pgp-sign-Multipart_Fri_Dec_15_15:07:20_2006-1 Content-Type: text/plain; charset=US-ASCII On Fri, 15 Dec 2006 12:38:51 +0100, Jerome Lovy wrote: > While I am very happy with the refactorings undertaken with regard to > "git add/git commit" (both for UI and documentation), I am still a > little confused by the different ways I seem to find to express the idea > "I want to add (sort of) all file contents". I agree that there have been huge improvements---particularly in documentation. So thanks to everybody! Here's a simpler idea that might add the unification you're looking for. How about a new option: git add -a|--all This would allow "git commit -a|--all" to be understood as a simple helper for: git add -a|--all git commit That kind of unification seems like it could be helpful while learning things. And I believe I've even wanted to do the "git add -a" operation before, so I think it might be useful in its own right at times, (though I can't think of a good example of why at the moment, so perhaps its not that important). -Carl --pgp-sign-Multipart_Fri_Dec_15_15:07:20_2006-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFgyqo6JDdNq8qSWgRAv0kAJ921+mkOByiOuKiIARpcvkhQTWDsgCfXA06 aRyvskETdyg71kie9JzZqOs= =d0AH -----END PGP SIGNATURE-----