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:
585719b
)
Fixed issue #140: Incorrect treatment of "Cancel" action on "Apply patch serial"...
author
Frank Li
<lznuaa@gmail.com>
Thu, 13 Aug 2009 15:02:09 +0000
(23:02 +0800)
committer
Frank Li
<lznuaa@gmail.com>
Thu, 13 Aug 2009 15:02:09 +0000
(23:02 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseProc/Commands/ImportPatchCommand.cpp
patch
|
blob
|
history
diff --git
a/src/TortoiseProc/Commands/ImportPatchCommand.cpp
b/src/TortoiseProc/Commands/ImportPatchCommand.cpp
index
6fbd9ed
..
66b7523
100644
(file)
--- a/
src/TortoiseProc/Commands/ImportPatchCommand.cpp
+++ b/
src/TortoiseProc/Commands/ImportPatchCommand.cpp
@@
-37,6
+37,9
@@
bool ImportPatchCommand::Execute()
if(!this->orgCmdLinePath.HasAdminDir())
\r
{
\r
CString str=CAppUtils::ChooseRepository((CString*)&orgCmdLinePath.GetWinPathString());
\r
+ if(str.IsEmpty())
\r
+ return FALSE;
\r
+
\r
CTGitPath path;
\r
path.SetFromWin(str);
\r
\r