mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-24 06:12:35 -06:00
git-svn-id: svn://ultimatepp.org/upp/trunk@1016 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
62f954a84a
commit
00524c51c2
2 changed files with 12 additions and 6 deletions
|
|
@ -1 +1 @@
|
|||
#define IDE_VERSION "902r185"
|
||||
#define IDE_VERSION "902r186"
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue