Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".

From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Date: 2006-11-30 21:27:54
Hi,

On Wed, 29 Nov 2006, Linus Torvalds wrote:

> So where doing the "git apply --index" thing is great is when you see a 
> patch that has some obvious deficiency that makes you not want to commit 
> it directly, but add some fixup of your own.

An obvious deficiency would also be the presence of hundreds of debug 
quirks I had to introduce to find the bug which I finally fixed. But I do 
not want to commit, because it is such a mess. So: into the index, ye 
files.

Now I can clean up everything I introduced to find the bug. If the result 
does not work as expected? "git diff"!

But now that I cleaned up the mess, I find that there is a more elegant 
way to solve the problem. Into the  index, ye files! Clicketyclick, if I 
mess up, I always have the state in the index!

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Nov 30 21:28:04 2006

This archive was generated by hypermail 2.1.8 : 2006-11-30 21:29:18 EST