Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Revise the --soft/--hard option processing a bit. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | mvAndRmFiles |
| Files: | files | file ages | folders |
| SHA1: |
2d1f5abf714ffab107618f141e1acf0f |
| User & Date: | mistachkin 2015-03-04 02:03:56.389 |
Context
|
2015-03-04
| ||
| 02:17 | Properly document all the new options. ... (check-in: 17eb0bdcc4 user: mistachkin tags: mvAndRmFiles) | |
| 02:03 | Revise the --soft/--hard option processing a bit. ... (check-in: 2d1f5abf71 user: mistachkin tags: mvAndRmFiles) | |
| 02:00 | Recognize the '--soft' and '--hard' options as well for the mv/rm commands. ... (check-in: 2ed14f79d8 user: mistachkin tags: mvAndRmFiles) | |
Changes
Changes to src/add.c.
| ︙ | ︙ | |||
400 401 402 403 404 405 406 |
/*
** Capture the command-line --metadata-only option.
*/
static const char *zMetadataOnly = 0;
void capture_metadata_only_option(void){
if( zMetadataOnly==0 ){
zMetadataOnly = find_option("metadata-only",0,1);
| < | | | | | > | 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 |
/*
** Capture the command-line --metadata-only option.
*/
static const char *zMetadataOnly = 0;
void capture_metadata_only_option(void){
if( zMetadataOnly==0 ){
zMetadataOnly = find_option("metadata-only",0,1);
if( find_option("soft",0,0) && zMetadataOnly==0 ){
zMetadataOnly = "1";
}
if( find_option("hard",0,0) && zMetadataOnly==0 ){
zMetadataOnly = "0";
}
}
}
/*
** COMMAND: rm
** COMMAND: delete*
**
|
| ︙ | ︙ |