Fixing Git commit, as far as it should work as git commit -a.

Unifying the commit behavior between git and mercurial