OSDN Git Service
(root)
/
tortoisegit
/
TortoiseGitJp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b948934
)
Fixed issue #180: Create patch serial doesn't work when there is "\" at end of path
author
Frank Li
<lznuaa@gmail.com>
Fri, 25 Sep 2009 00:42:22 +0000
(08:42 +0800)
committer
Frank Li
<lznuaa@gmail.com>
Fri, 25 Sep 2009 00:42:22 +0000
(08:42 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseProc/Commands/FormatPatchCommand.cpp
patch
|
blob
|
history
diff --git
a/src/TortoiseProc/Commands/FormatPatchCommand.cpp
b/src/TortoiseProc/Commands/FormatPatchCommand.cpp
index
f816f40
..
8dc75ca
100644
(file)
--- a/
src/TortoiseProc/Commands/FormatPatchCommand.cpp
+++ b/
src/TortoiseProc/Commands/FormatPatchCommand.cpp
@@
-65,6
+65,7
@@
bool FormatPatchCommand::Execute()
range.Format(_T("%s..%s"),dlg.m_From,dlg.m_To);
\r
break;
\r
}
\r
+ dlg.m_Dir.Replace(_T('\\'),_T('/'));
\r
cmd.Format(_T("git.exe format-patch -o \"%s\" %s"),
\r
dlg.m_Dir,
\r
range
\r