Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a missing newline when printing the git push command on --autopush. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
df619db6e42f82b2c54624db2a8b2631 |
User & Date: | drh 2019-03-16 13:31:32 |
Context
2019-03-16
| ||
13:58 | When the "fossil git export" command displays the "git push" command it is about to run, omit the display of any password that happens to be embedded in the URL. check-in: aaa937a8 user: drh tags: trunk | |
13:31 | Fix a missing newline when printing the git push command on --autopush. check-in: df619db6 user: drh tags: trunk | |
13:23 | 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. check-in: fe98905e user: drh tags: trunk | |
Changes
Changes to src/export.c.
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); fossil_print("%s", zPushCmd); fossil_system(zPushCmd); fossil_free(zPushCmd); } } /* ** COMMAND: git |
| |
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);
fossil_print("%s\n", zPushCmd);
fossil_system(zPushCmd);
fossil_free(zPushCmd);
}
}
/*
** COMMAND: git
|