From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: VC mode and git Date: Wed, 25 Mar 2015 18:19:59 +0000 Message-ID: <20150325181959.GC3833@acm.fritz.box> References: <86egoeusg2.fsf@example.com> <83pp7yp5po.fsf@gnu.org> <86sicte9j3.fsf@example.com> <83y4mlnee2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1427307636 27040 80.91.229.3 (25 Mar 2015 18:20:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2015 18:20:36 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 25 19:20:28 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yapuk-0005Qc-Rp for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 19:20:26 +0100 Original-Received: from localhost ([::1]:40704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yapuk-0004NI-0G for ged-emacs-devel@m.gmane.org; Wed, 25 Mar 2015 14:20:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yapuf-0004Kx-IB for emacs-devel@gnu.org; Wed, 25 Mar 2015 14:20:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yapuc-0003Pw-1J for emacs-devel@gnu.org; Wed, 25 Mar 2015 14:20:21 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:46725 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yapub-0003Ok-O5 for emacs-devel@gnu.org; Wed, 25 Mar 2015 14:20:17 -0400 Original-Received: (qmail 68247 invoked by uid 3782); 25 Mar 2015 18:20:16 -0000 Original-Received: from acm.muc.de (pD9519387.dip0.t-ipconnect.de [217.81.147.135]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 25 Mar 2015 19:20:14 +0100 Original-Received: (qmail 5757 invoked by uid 1000); 25 Mar 2015 18:19:59 -0000 Content-Disposition: inline In-Reply-To: <83y4mlnee2.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:184250 Archived-At: Hello, Eli. On Wed, Mar 25, 2015 at 08:03:17PM +0200, Eli Zaretskii wrote: > > From: Stefan Monnier > > Date: Wed, 25 Mar 2015 11:04:51 -0400 > > I tend not to use the index very heavily (I'm still a fairly young Git > > user, evidently), so I don't suffer from it too much, but it's clearly > > wrong (an obvious problem is when the file is modified in the index and > > this modification is undone in the actual file > That's because you are not radical enough in not-using the index. I > never get to the situation where a file is modified in the index. One > problem less. > (Of course, now I will be pounced upon by all the people who were > brainwashed to think the index is a good idea. Please don't bother.) The index (stupid name) is an extra layer of complexity. Even the git maintainers half-admit it's not (always) a good thing by allowing "git commit -a". I'm mystified as to what the git index is for. What's its motivation, what's it used for, what does it gain me in exchange for the extra complexity? Does anybody have a link to a justification? I'm genuinely curious about this. -- Alan Mackenzie (Nuremberg, Germany).