Fossil SCM
Fix a missing newline when printing the git push command on --autopush.
Commit
df619db6e42f82b2c54624db2a8b2631fedc078d22bb8fb92d8f3e464eadc0b6
Parent
fe98905e9ae39e3…
1 file changed
+1
-1
+1
-1
| --- src/export.c | ||
| +++ src/export.c | ||
| @@ -1393,11 +1393,11 @@ | ||
| 1393 | 1393 | |
| 1394 | 1394 | /* Optionally do a "git push" */ |
| 1395 | 1395 | zPushUrl = db_text(0, "SELECT value FROM mconfig WHERE key='autopush'"); |
| 1396 | 1396 | if( zPushUrl ){ |
| 1397 | 1397 | char *zPushCmd = mprintf("git push --mirror %s", zPushUrl); |
| 1398 | - fossil_print("%s", zPushCmd); | |
| 1398 | + fossil_print("%s\n", zPushCmd); | |
| 1399 | 1399 | fossil_system(zPushCmd); |
| 1400 | 1400 | fossil_free(zPushCmd); |
| 1401 | 1401 | } |
| 1402 | 1402 | } |
| 1403 | 1403 | |
| 1404 | 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", 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 |