From: Matthieu Moy Date: Wed, 16 Feb 2011 09:05:31 GMT Subject: Re: non-empty index with git commit -a Message-ID: In-Reply-To: <20110216032047.GA2858@elie> Jonathan Nieder writes: > If I remember the discussion[1] correctly, by requiring a separate > add -u step (or commit -f -a) if the "I don't trust my fingers" > configuration is enabled. > > [1] http://thread.gmane.org/gmane.linux.debian.devel.bugs.general/698001/focus=145662 You may want to look at what eg (easy git) does too: http://people.gnome.org/~newren/eg/documentation/commit.html essentially, it considers commiting with dirty index the uncommon case, and requires an extra --staged flag to allow it. -- Matthieu Moy http://www-verimag.imag.fr/~moy/