Fix "Save as..." for a file changed in the working dir
commit86bc0f9d5bbede8152b0361c45cabb220753850c
authorMarkus Heidelberg <markus.heidelberg@web.de>
Sat, 13 Jun 2009 11:04:04 +0000 (13 13:04 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 13 Jun 2009 11:03:55 +0000 (13 13:03 +0200)
tree5fa65566a36d0867ee29fd19009fb4e244a9f690
parent7a48847dfb91d99924b7d7b61ebf5aaae971f402
Fix "Save as..." for a file changed in the working dir

The second argument of Git::saveFile() is the filename, but the commit
SHA1 has been used, leading to the following error message:

An error occurred while executing command:

cat 0000000000000000000000000000000000000000

Git says:

/bin/cat: 0000000000000000000000000000000000000000: No such file or directory

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/mainimpl.cpp