Commit e0c6670b authored by Eric Knibbe's avatar Eric Knibbe Committed by Nicolas Giard

fix #185: avoid escaping paths in commit messages

parent 185add6a
......@@ -210,7 +210,7 @@ module.exports = {
let out = cProc.stdout.toString()
return _.includes(out, gitFilePath)
}).then((isTracked) => {
commitMsg = (isTracked) ? lang.t('git:updated', { path: gitFilePath }) : lang.t('git:added', { path: gitFilePath })
commitMsg = (isTracked) ? lang.t('git:updated', { path: gitFilePath, interpolation: { escapeValue: false } }) : lang.t('git:added', { path: gitFilePath, interpolation: { escapeValue: false } })
return self._git.add(gitFilePath)
}).then(() => {
let commitUsr = securityHelper.sanitizeCommitUser(author)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment