Use `%f` format instead of `%s` is git-log format

This will omit or substitute special characters like quotes.