From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff King Subject: Re: non-empty index with git commit -a Date: Wed, 16 Feb 2011 04:54:15 -0500 Message-ID: <20110216095415.GA12578@sigill.intra.peff.net> References: <20110216023645.GA7085@sigill.intra.peff.net> <20110216032047.GA2858@elie> <20110216085114.GA9413@sigill.intra.peff.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: Jonathan Nieder , Git List , Jakub Narebski To: Sverre Rabbelier X-From: git-owner@vger.kernel.org Wed Feb 16 10:54:30 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppe5c-00029O-Df for gcvg-git-2@lo.gmane.org; Wed, 16 Feb 2011 10:54:28 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755695Ab1BPJyX (ORCPT ); Wed, 16 Feb 2011 04:54:23 -0500 Received: from xen6.gtisc.gatech.edu ([143.215.130.70]:39422 "EHLO peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754055Ab1BPJyV (ORCPT ); Wed, 16 Feb 2011 04:54:21 -0500 Received: (qmail 7271 invoked by uid 111); 16 Feb 2011 09:54:20 -0000 Received: from 99-108-226-0.lightspeed.iplsin.sbcglobal.net (HELO sigill.intra.peff.net) (99.108.226.0) (smtp-auth username relayok, mechanism cram-md5) by peff.net (qpsmtpd/0.40) with ESMTPA; Wed, 16 Feb 2011 09:54:20 +0000 Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Wed, 16 Feb 2011 04:54:15 -0500 Content-Disposition: inline In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Wed, Feb 16, 2011 at 09:52:23AM +0000, Sverre Rabbelier wrote: > On Wed, Feb 16, 2011 at 08:51, Jeff King wrote: > > I can just as easily run "git add -u", or "git add -p" on top of some > > changes and then realize afterwards that I actually wanted the previous > > index state. > > I disagree, those are all index manipulation tools, `git commit -a` is not. So? Your question was whether index state is precious. If it's precious, shouldn't we be keeping a history of it? -Peff