* [PATCH QGit] Fix "Save patch..." when selected directory name has spaces
@ 2009-06-17 10:00 Marco Costalba
0 siblings, 0 replies; only message in thread
From: Marco Costalba @ 2009-06-17 10:00 UTC (permalink / raw
To: Markus Heidelberg, Git Mailing List
Bug spotted by Markus Heidelberg.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-17 10:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17 10:00 [PATCH QGit] Fix "Save patch..." when selected directory name has spaces Marco Costalba
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).