prepare-commit writing was fixed
Merge pull request #5 from iderikon/master

prepare-commit writing was fixed