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: [PATCH] commit: Steer new users toward "git commit -a" rather than update-index Date: Tue, 14 Nov 2006 08:42:49 -0800 Message-ID: <87k61yt1x2.wl%cworth@cworth.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Tue_Nov_14_08:42:43_2006-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit NNTP-Posting-Date: Tue, 14 Nov 2006 16:44:10 +0000 (UTC) Cc: git@vger.kernel.org Return-path: Envelope-to: gcvg-git@gmane.org 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 1Gk1NV-0001Nr-GH for gcvg-git@gmane.org; Tue, 14 Nov 2006 17:43:18 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933449AbWKNQnK (ORCPT ); Tue, 14 Nov 2006 11:43:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933451AbWKNQnK (ORCPT ); Tue, 14 Nov 2006 11:43:10 -0500 Received: from theworths.org ([217.160.253.102]:20192 "EHLO theworths.org") by vger.kernel.org with ESMTP id S933449AbWKNQnI (ORCPT ); Tue, 14 Nov 2006 11:43:08 -0500 Received: (qmail 8375 invoked from network); 14 Nov 2006 11:43:06 -0500 Received: from localhost (HELO raht.cworth.org) (127.0.0.1) by localhost with SMTP; 14 Nov 2006 11:43:06 -0500 To: Junio C Hamano Sender: git-owner@vger.kernel.org --pgp-sign-Multipart_Tue_Nov_14_08:42:43_2006-1 Content-Type: text/plain; charset=US-ASCII As has been discussed recently, update-index isn't intended as a "porcelain" command so the mention of it in the output of git-commit does lead to some user confusion. --- wt-status.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/wt-status.c b/wt-status.c index 7dd6857..4edabcd 100644 --- a/wt-status.c +++ b/wt-status.c @@ -126,7 +126,7 @@ static void wt_status_print_changed_cb(s int i; if (q->nr) wt_status_print_header("Changed but not updated", - "use git-update-index to mark for commit"); + "use \"git commit \" to commit or \"git commit -a\" for all"); for (i = 0; i < q->nr; i++) wt_status_print_filepair(WT_STATUS_CHANGED, q->queue[i]); if (q->nr) -- 1.4.3.3.gf040 --pgp-sign-Multipart_Tue_Nov_14_08:42:43_2006-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFWfIJ6JDdNq8qSWgRAk/mAKCBOXGZRC2bwO0Z9LqMP3d1pjOaEwCeNvwI 8H6Kn6LsA111YAhziEB+BUc= =wQjx -----END PGP SIGNATURE-----