Fossil SCM

Fix a missing newline when printing the git push command on --autopush.

drh 2019-03-16 13:31 trunk
Commit df619db6e42f82b2c54624db2a8b2631fedc078d22bb8fb92d8f3e464eadc0b6
1 file changed +1 -1
+1 -1
--- src/export.c
+++ src/export.c
@@ -1393,11 +1393,11 @@
13931393
13941394
/* Optionally do a "git push" */
13951395
zPushUrl = db_text(0, "SELECT value FROM mconfig WHERE key='autopush'");
13961396
if( zPushUrl ){
13971397
char *zPushCmd = mprintf("git push --mirror %s", zPushUrl);
1398
- fossil_print("%s", zPushCmd);
1398
+ fossil_print("%s\n", zPushCmd);
13991399
fossil_system(zPushCmd);
14001400
fossil_free(zPushCmd);
14011401
}
14021402
}
14031403
14041404
--- src/export.c
+++ src/export.c
@@ -1393,11 +1393,11 @@
1393
1394 /* Optionally do a "git push" */
1395 zPushUrl = db_text(0, "SELECT value FROM mconfig WHERE key='autopush'");
1396 if( zPushUrl ){
1397 char *zPushCmd = mprintf("git push --mirror %s", zPushUrl);
1398 fossil_print("%s", zPushCmd);
1399 fossil_system(zPushCmd);
1400 fossil_free(zPushCmd);
1401 }
1402 }
1403
1404
--- src/export.c
+++ src/export.c
@@ -1393,11 +1393,11 @@
1393
1394 /* Optionally do a "git push" */
1395 zPushUrl = db_text(0, "SELECT value FROM mconfig WHERE key='autopush'");
1396 if( zPushUrl ){
1397 char *zPushCmd = mprintf("git push --mirror %s", zPushUrl);
1398 fossil_print("%s\n", zPushCmd);
1399 fossil_system(zPushCmd);
1400 fossil_free(zPushCmd);
1401 }
1402 }
1403
1404

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button