fixes #548 (issue with commit messages with blank spaces)
Merge remote-tracking branch 'origin/pr/558'
Merge branch 'master' into sqlite
Fixing bad String.format string
Properly restoring transaction/autocommit state after batch operations.