Bug spotted by Markus Heidelberg. Signed-off-by: Marco Costalba <mcostalba@xxxxxxxxx> --- src/git.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/git.cpp b/src/git.cpp index 357383d..bf1a9d5 100644 --- a/src/git.cpp +++ b/src/git.cpp @@ -1569,7 +1569,7 @@ bool Git::formatPatch(SCList shaList, SCRef dirPath, SCRef remoteDir) { if (remote) runCmd.append(" --keep-subject"); - runCmd.append(" -o " + dirPath); + runCmd.append(" -o " + quote(dirPath)); if (!FPOpt.isEmpty()) runCmd.append(" " + FPOpt.trimmed()); -- 1.6.1.9.g97c34 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html