From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [FAQ?] Rationale for git's way to manage the index Date: Wed, 09 May 2007 17:31:41 -0700 Message-ID: <7vzm4dplhu.fsf@assigned-by-dhcp.cox.net> References: <46a038f90705072016x17bd60c3ic779459438ffc19@mail.gmail.com> <20070509134151.GT4489@pasky.or.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Petr Baudis , Martin Langhoff , git@vger.kernel.org To: Linus Torvalds X-From: git-owner@vger.kernel.org Thu May 10 02:31:51 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HlwZQ-0006La-NB for gcvg-git@gmane.org; Thu, 10 May 2007 02:31:49 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757000AbXEJAbo (ORCPT ); Wed, 9 May 2007 20:31:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756502AbXEJAbn (ORCPT ); Wed, 9 May 2007 20:31:43 -0400 Received: from fed1rmmtao102.cox.net ([68.230.241.44]:33756 "EHLO fed1rmmtao102.cox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757000AbXEJAbn (ORCPT ); Wed, 9 May 2007 20:31:43 -0400 Received: from fed1rmimpo02.cox.net ([70.169.32.72]) by fed1rmmtao102.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070510003142.NUQC2758.fed1rmmtao102.cox.net@fed1rmimpo02.cox.net>; Wed, 9 May 2007 20:31:42 -0400 Received: from assigned-by-dhcp.cox.net ([68.5.247.80]) by fed1rmimpo02.cox.net with bizsmtp id xCXh1W00a1kojtg0000000; Wed, 09 May 2007 20:31:42 -0400 In-Reply-To: (Linus Torvalds's message of "Wed, 9 May 2007 08:52:09 -0700 (PDT)") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Linus Torvalds writes: > And unlike the "simpler" model of committing individual hunks > with "git add -i" or something like that, my model is actually > much superior! I obviously agree with this. As I said a few times I regret introducing "add -i" --- it encourages a wrong workflow, in that what you commit in steps never match what you had in the working tree and could have tested until the very end.