From: Johannes Schindelin Date: Thu, 30 Nov 2006 10:27:54 GMT Subject: Re: [PATCH 0/2] Making "git commit" to mean "git commit -a". Message-ID: In-Reply-To: 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