git-svn-id: svn://ultimatepp.org/upp/trunk@1016 f0d560ea-af0d-0410-9eb7-867de7ffcac7

This commit is contained in:
rylek 2009-03-28 18:23:42 +00:00
parent 62f954a84a
commit 00524c51c2
2 changed files with 12 additions and 6 deletions

View file

@ -1 +1 @@
#define IDE_VERSION "902r185"
#define IDE_VERSION "902r186"

View file

@ -219,12 +219,18 @@ again:
msgmap.GetAdd(works[repoi++].working) = list.Get(i, 3);
return;
}
for(int i = 0; i < list.GetCount(); i++)
if(list.Get(i, 0) == MESSAGE && IsNull(list.Get(i, 3))) {
if(PromptYesNo("Commit message is empty.&Do you want to continue?"))
break;
goto again;
bool changes = false;
for(int i = 0; i < list.GetCount(); i++) {
int action = list.Get(i, 0);
if(action == MESSAGE) {
if(changes && IsNull(list.Get(i, 3))
&& !PromptYesNo("Commit message is empty.&Do you want to continue?"))
goto again;
changes = false;
}
else if(action != MODIFY && action != REPOSITORY)
changes = true;
}
SysConsole sys;
int repoi = 0;
int l = 0;