Differences From Artifact [bbc232932e]:
- File src/export.c — part of check-in [fe98905e9a] at 2019-03-16 13:23:35 on branch trunk — Update the "fossil git export" command so that it remembers the last repository name and reuses it if no repository is specified. Add the --force option. (user: drh size: 46137)
To Artifact [771a771e77]:
- File src/export.c — part of check-in [df619db6e4] at 2019-03-16 13:31:32 on branch trunk — Fix a missing newline when printing the git push command on --autopush. (user: drh size: 46139)
| ︙ | |||
1391 1392 1393 1394 1395 1396 1397 | 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 | - + |
}
db_commit_transaction();
/* Optionally do a "git push" */
zPushUrl = db_text(0, "SELECT value FROM mconfig WHERE key='autopush'");
if( zPushUrl ){
char *zPushCmd = mprintf("git push --mirror %s", zPushUrl);
|
| ︙ |