Differences From:
File
src/checkin.c
part of check-in
[820a1a1a53]
- Fix a C++-ism.
by
drh on
2007-09-23 18:55:36.
[view]
To:
File
src/checkin.c
part of check-in
[0431f14edf]
- Once a successful commit is made, if autosync is on, a push is now done. This commit will be the first test of that new functionality :-)
by
jnc on
2007-09-25 07:11:57.
[view]
@@ -524,5 +524,12 @@
undo_reset();
/* Commit */
db_end_transaction(0);
+
+ /* Autosync and do a push? */
+ if( do_autosync() ){
+ g.argc=2;
+ g.argv[1]="push";
+ push_cmd();
+ }
}