emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VC mode and git


From: Alan Mackenzie
Subject: Re: VC mode and git
Date: Wed, 25 Mar 2015 18:19:59 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

Hello, Eli.

On Wed, Mar 25, 2015 at 08:03:17PM +0200, Eli Zaretskii wrote:
> > From: Stefan Monnier <address@hidden>
> > 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).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]