Fossil SCM
merge trunk
Commit
b8e61d24f82593884cb8a70a7219381b8bda1844
Parent
c0b42f23a3c2e0b…
1 file changed
+2
-2
+2
-2
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -1560,11 +1560,11 @@ | ||
| 1560 | 1560 | ** should be committed. |
| 1561 | 1561 | */ |
| 1562 | 1562 | if( select_commit_files() ){ |
| 1563 | 1563 | prompt_user("continue (y/N)? ", &ans); |
| 1564 | 1564 | cReply = blob_str(&ans)[0]; |
| 1565 | - if( cReply!='y' && cReply!='Y' ) fossil_exit(1);; | |
| 1565 | + if( cReply!='y' && cReply!='Y' ) fossil_exit(1); | |
| 1566 | 1566 | } |
| 1567 | 1567 | isAMerge = db_exists("SELECT 1 FROM vmerge WHERE id=0 OR id<-2"); |
| 1568 | 1568 | if( g.aCommitFile && isAMerge ){ |
| 1569 | 1569 | fossil_fatal("cannot do a partial commit of a merge"); |
| 1570 | 1570 | } |
| @@ -1660,11 +1660,11 @@ | ||
| 1660 | 1660 | char *zInit = db_text(0, "SELECT value FROM vvar WHERE name='ci-comment'"); |
| 1661 | 1661 | prepare_commit_comment(&comment, zInit, &sCiInfo, vid); |
| 1662 | 1662 | if( zInit && zInit[0] && fossil_strcmp(zInit, blob_str(&comment))==0 ){ |
| 1663 | 1663 | prompt_user("unchanged check-in comment. continue (y/N)? ", &ans); |
| 1664 | 1664 | cReply = blob_str(&ans)[0]; |
| 1665 | - if( cReply!='y' && cReply!='Y' ) fossil_exit(1);; | |
| 1665 | + if( cReply!='y' && cReply!='Y' ) fossil_exit(1); | |
| 1666 | 1666 | } |
| 1667 | 1667 | free(zInit); |
| 1668 | 1668 | } |
| 1669 | 1669 | if( blob_size(&comment)==0 ){ |
| 1670 | 1670 | if( !dryRunFlag ){ |
| 1671 | 1671 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -1560,11 +1560,11 @@ | |
| 1560 | ** should be committed. |
| 1561 | */ |
| 1562 | if( select_commit_files() ){ |
| 1563 | prompt_user("continue (y/N)? ", &ans); |
| 1564 | cReply = blob_str(&ans)[0]; |
| 1565 | if( cReply!='y' && cReply!='Y' ) fossil_exit(1);; |
| 1566 | } |
| 1567 | isAMerge = db_exists("SELECT 1 FROM vmerge WHERE id=0 OR id<-2"); |
| 1568 | if( g.aCommitFile && isAMerge ){ |
| 1569 | fossil_fatal("cannot do a partial commit of a merge"); |
| 1570 | } |
| @@ -1660,11 +1660,11 @@ | |
| 1660 | char *zInit = db_text(0, "SELECT value FROM vvar WHERE name='ci-comment'"); |
| 1661 | prepare_commit_comment(&comment, zInit, &sCiInfo, vid); |
| 1662 | if( zInit && zInit[0] && fossil_strcmp(zInit, blob_str(&comment))==0 ){ |
| 1663 | prompt_user("unchanged check-in comment. continue (y/N)? ", &ans); |
| 1664 | cReply = blob_str(&ans)[0]; |
| 1665 | if( cReply!='y' && cReply!='Y' ) fossil_exit(1);; |
| 1666 | } |
| 1667 | free(zInit); |
| 1668 | } |
| 1669 | if( blob_size(&comment)==0 ){ |
| 1670 | if( !dryRunFlag ){ |
| 1671 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -1560,11 +1560,11 @@ | |
| 1560 | ** should be committed. |
| 1561 | */ |
| 1562 | if( select_commit_files() ){ |
| 1563 | prompt_user("continue (y/N)? ", &ans); |
| 1564 | cReply = blob_str(&ans)[0]; |
| 1565 | if( cReply!='y' && cReply!='Y' ) fossil_exit(1); |
| 1566 | } |
| 1567 | isAMerge = db_exists("SELECT 1 FROM vmerge WHERE id=0 OR id<-2"); |
| 1568 | if( g.aCommitFile && isAMerge ){ |
| 1569 | fossil_fatal("cannot do a partial commit of a merge"); |
| 1570 | } |
| @@ -1660,11 +1660,11 @@ | |
| 1660 | char *zInit = db_text(0, "SELECT value FROM vvar WHERE name='ci-comment'"); |
| 1661 | prepare_commit_comment(&comment, zInit, &sCiInfo, vid); |
| 1662 | if( zInit && zInit[0] && fossil_strcmp(zInit, blob_str(&comment))==0 ){ |
| 1663 | prompt_user("unchanged check-in comment. continue (y/N)? ", &ans); |
| 1664 | cReply = blob_str(&ans)[0]; |
| 1665 | if( cReply!='y' && cReply!='Y' ) fossil_exit(1); |
| 1666 | } |
| 1667 | free(zInit); |
| 1668 | } |
| 1669 | if( blob_size(&comment)==0 ){ |
| 1670 | if( !dryRunFlag ){ |
| 1671 |