From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff King Subject: Re: Proposed git mv behavioral change Date: Thu, 18 Oct 2007 23:35:00 -0400 Message-ID: <20071019033500.GB10697@coredump.intra.peff.net> References: <20071019015419.GV14735@spearce.org> <20071019031959.GE14735@spearce.org> <20071019032407.GA10622@coredump.intra.peff.net> <7E3647F4-E61C-4FBE-9AA7-81CDBE324308@MIT.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git@vger.kernel.org To: Michael Witten X-From: git-owner@vger.kernel.org Fri Oct 19 05:35:17 2007 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 1Iiidn-00011U-L6 for gcvg-git-2@gmane.org; Fri, 19 Oct 2007 05:35:16 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753275AbXJSDfF (ORCPT ); Thu, 18 Oct 2007 23:35:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758407AbXJSDfE (ORCPT ); Thu, 18 Oct 2007 23:35:04 -0400 Received: from 66-23-211-5.clients.speedfactory.net ([66.23.211.5]:1981 "EHLO peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751732AbXJSDfD (ORCPT ); Thu, 18 Oct 2007 23:35:03 -0400 Received: (qmail 8624 invoked by uid 111); 19 Oct 2007 03:35:01 -0000 Received: from coredump.intra.peff.net (HELO coredump.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.32) with SMTP; Thu, 18 Oct 2007 23:35:01 -0400 Received: by coredump.intra.peff.net (sSMTP sendmail emulation); Thu, 18 Oct 2007 23:35:00 -0400 Content-Disposition: inline In-Reply-To: <7E3647F4-E61C-4FBE-9AA7-81CDBE324308@MIT.EDU> Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: On Thu, Oct 18, 2007 at 11:26:32PM -0400, Michael Witten wrote: >>> touch the working tree". Here we want to touch the working tree >>> in the sense of moving the file. So --cached is not the correct >>> option name. >> >> Doesn't "mv" do that? > > We only want to move it, not also add its dirty contents. Right, I mean regular "mv", not "git-mv". The only thing that doesn't accomplish is moving the "from" entry in the index to the "to" entry (but I'm not sure that's such a good idea). Perhaps I've lost sight of your original goal. Can you state more succintly what you are trying to accomplish? -Peff