Save commit message before to commit
commit7a48847dfb91d99924b7d7b61ebf5aaae971f402
authorMarco Costalba <mcostalba@gmail.com>
Fri, 12 Jun 2009 13:38:25 +0000 (12 15:38 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 12 Jun 2009 15:21:59 +0000 (12 17:21 +0200)
tree63ae662c08cd4c9e50caaa775b1d85796cf4257d
parent9498a8eafef626b2b8c79d2a6c442dbbda57343f
Save commit message before to commit

And show it again to the user at the next commit
attempt if the previous failed.

This comes handly when, as example, trailing white space
check is enabled and happens not so rarely that the commit
fails. With this patch user doesn't need to retype everything.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/commitimpl.cpp
src/commitimpl.h