From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl Worth Subject: Re: [PATCH] Add new git-rm command with documentation Date: Tue, 21 Feb 2006 14:49:22 -0800 Message-ID: <87slqcs4y5.wl%cworth@cworth.org> References: <87u0ass7tj.wl%cworth@cworth.org> <43FB8F31.9090302@people.pl> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Tue_Feb_21_14:49:16_2006-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Cc: Junio C Hamano , git@vger.kernel.org X-From: git-owner@vger.kernel.org Tue Feb 21 23:51:15 2006 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FBgLF-0003xF-VD for gcvg-git@gmane.org; Tue, 21 Feb 2006 23:50:46 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964883AbWBUWun (ORCPT ); Tue, 21 Feb 2006 17:50:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964886AbWBUWun (ORCPT ); Tue, 21 Feb 2006 17:50:43 -0500 Received: from theworths.org ([217.160.253.102]:26251 "EHLO theworths.org") by vger.kernel.org with ESMTP id S964883AbWBUWum (ORCPT ); Tue, 21 Feb 2006 17:50:42 -0500 Received: (qmail 11959 invoked from network); 21 Feb 2006 17:50:41 -0500 Received: from localhost (HELO raht.cworth.org) (127.0.0.1) by localhost with SMTP; 21 Feb 2006 17:50:41 -0500 To: Krzysiek Pawlik In-Reply-To: <43FB8F31.9090302@people.pl> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.4 Mule/5.0 (SAKAKI) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: --pgp-sign-Multipart_Tue_Feb_21_14:49:16_2006-1 Content-Type: text/plain; charset=US-ASCII On Tue, 21 Feb 2006 23:07:45 +0100, Krzysiek Pawlik wrote: > > I've modified it a little - it has now a '-f' option to delete files > (much like cvs rm behaviour). As is, without -f, git-rm will instead act just like git-update-index. If the -f option is desired we could get the correct behavior by using update-index --force-remove when not given -f and update-index --remove when given -f. That's enough complexity to warrant a test case. I'll be back shortly with that... -Carl --pgp-sign-Multipart_Tue_Feb_21_14:49:16_2006-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBD+5jy6JDdNq8qSWgRAg2WAJ96Iep9cWdXP33O5/TuURj1CQlZtgCfdsqR TIgCGTtXaLs6I0gXn+QM+Js= =84Er -----END PGP SIGNATURE----- --pgp-sign-Multipart_Tue_Feb_21_14:49:16_2006-1--