Fossil SCM
Restore special handling of the database name from [17885b90c8] in filenames_are_case_sensitive() as it may be needed in some cases. Consolidate all use of the capture_case_sensitive_option() function.
Commit
0c51600056ec9804eb7bfd837616db3b7653fd15
Parent
3b990b5203c7262…
8 files changed
+3
-7
-2
-1
-1
+1
-1
+1
-1
-1
+3
-7
| --- src/add.c | ||
| +++ src/add.c | ||
| @@ -260,11 +260,10 @@ | ||
| 260 | 260 | |
| 261 | 261 | zCleanFlag = find_option("clean",0,1); |
| 262 | 262 | zIgnoreFlag = find_option("ignore",0,1); |
| 263 | 263 | forceFlag = find_option("force","f",0)!=0; |
| 264 | 264 | if( find_option("dotfiles",0,0)!=0 ) scanFlags |= SCAN_ALL; |
| 265 | - capture_case_sensitive_option(); | |
| 266 | 265 | |
| 267 | 266 | /* We should be done with options.. */ |
| 268 | 267 | verify_all_options(); |
| 269 | 268 | |
| 270 | 269 | db_must_be_within_tree(); |
| @@ -353,12 +352,10 @@ | ||
| 353 | 352 | */ |
| 354 | 353 | void delete_cmd(void){ |
| 355 | 354 | int i; |
| 356 | 355 | Stmt loop; |
| 357 | 356 | |
| 358 | - capture_case_sensitive_option(); | |
| 359 | - | |
| 360 | 357 | /* We should be done with options.. */ |
| 361 | 358 | verify_all_options(); |
| 362 | 359 | |
| 363 | 360 | db_must_be_within_tree(); |
| 364 | 361 | db_begin_transaction(); |
| @@ -445,12 +442,13 @@ | ||
| 445 | 442 | #endif |
| 446 | 443 | caseSensitive = db_get_boolean("case-sensitive",caseSensitive); |
| 447 | 444 | } |
| 448 | 445 | if( !caseSensitive && g.localOpen ){ |
| 449 | 446 | db_multi_exec( |
| 450 | - "CREATE INDEX IF NOT EXISTS vfile_nocase" | |
| 451 | - " ON vfile(pathname COLLATE nocase)" | |
| 447 | + "CREATE INDEX IF NOT EXISTS %s.vfile_nocase" | |
| 448 | + " ON vfile(pathname COLLATE nocase)", | |
| 449 | + db_name("localdb") | |
| 452 | 450 | ); |
| 453 | 451 | } |
| 454 | 452 | } |
| 455 | 453 | return caseSensitive; |
| 456 | 454 | } |
| @@ -522,11 +520,10 @@ | ||
| 522 | 520 | Glob *pIgnore, *pClean; |
| 523 | 521 | |
| 524 | 522 | if( !dryRunFlag ){ |
| 525 | 523 | dryRunFlag = find_option("test",0,0)!=0; /* deprecated */ |
| 526 | 524 | } |
| 527 | - capture_case_sensitive_option(); | |
| 528 | 525 | |
| 529 | 526 | /* We should be done with options.. */ |
| 530 | 527 | verify_all_options(); |
| 531 | 528 | |
| 532 | 529 | db_must_be_within_tree(); |
| @@ -634,11 +631,10 @@ | ||
| 634 | 631 | int vid; |
| 635 | 632 | char *zDest; |
| 636 | 633 | Blob dest; |
| 637 | 634 | Stmt q; |
| 638 | 635 | |
| 639 | - capture_case_sensitive_option(); | |
| 640 | 636 | db_must_be_within_tree(); |
| 641 | 637 | |
| 642 | 638 | /* We should be done with options.. */ |
| 643 | 639 | verify_all_options(); |
| 644 | 640 | |
| 645 | 641 |
| --- src/add.c | |
| +++ src/add.c | |
| @@ -260,11 +260,10 @@ | |
| 260 | |
| 261 | zCleanFlag = find_option("clean",0,1); |
| 262 | zIgnoreFlag = find_option("ignore",0,1); |
| 263 | forceFlag = find_option("force","f",0)!=0; |
| 264 | if( find_option("dotfiles",0,0)!=0 ) scanFlags |= SCAN_ALL; |
| 265 | capture_case_sensitive_option(); |
| 266 | |
| 267 | /* We should be done with options.. */ |
| 268 | verify_all_options(); |
| 269 | |
| 270 | db_must_be_within_tree(); |
| @@ -353,12 +352,10 @@ | |
| 353 | */ |
| 354 | void delete_cmd(void){ |
| 355 | int i; |
| 356 | Stmt loop; |
| 357 | |
| 358 | capture_case_sensitive_option(); |
| 359 | |
| 360 | /* We should be done with options.. */ |
| 361 | verify_all_options(); |
| 362 | |
| 363 | db_must_be_within_tree(); |
| 364 | db_begin_transaction(); |
| @@ -445,12 +442,13 @@ | |
| 445 | #endif |
| 446 | caseSensitive = db_get_boolean("case-sensitive",caseSensitive); |
| 447 | } |
| 448 | if( !caseSensitive && g.localOpen ){ |
| 449 | db_multi_exec( |
| 450 | "CREATE INDEX IF NOT EXISTS vfile_nocase" |
| 451 | " ON vfile(pathname COLLATE nocase)" |
| 452 | ); |
| 453 | } |
| 454 | } |
| 455 | return caseSensitive; |
| 456 | } |
| @@ -522,11 +520,10 @@ | |
| 522 | Glob *pIgnore, *pClean; |
| 523 | |
| 524 | if( !dryRunFlag ){ |
| 525 | dryRunFlag = find_option("test",0,0)!=0; /* deprecated */ |
| 526 | } |
| 527 | capture_case_sensitive_option(); |
| 528 | |
| 529 | /* We should be done with options.. */ |
| 530 | verify_all_options(); |
| 531 | |
| 532 | db_must_be_within_tree(); |
| @@ -634,11 +631,10 @@ | |
| 634 | int vid; |
| 635 | char *zDest; |
| 636 | Blob dest; |
| 637 | Stmt q; |
| 638 | |
| 639 | capture_case_sensitive_option(); |
| 640 | db_must_be_within_tree(); |
| 641 | |
| 642 | /* We should be done with options.. */ |
| 643 | verify_all_options(); |
| 644 | |
| 645 |
| --- src/add.c | |
| +++ src/add.c | |
| @@ -260,11 +260,10 @@ | |
| 260 | |
| 261 | zCleanFlag = find_option("clean",0,1); |
| 262 | zIgnoreFlag = find_option("ignore",0,1); |
| 263 | forceFlag = find_option("force","f",0)!=0; |
| 264 | if( find_option("dotfiles",0,0)!=0 ) scanFlags |= SCAN_ALL; |
| 265 | |
| 266 | /* We should be done with options.. */ |
| 267 | verify_all_options(); |
| 268 | |
| 269 | db_must_be_within_tree(); |
| @@ -353,12 +352,10 @@ | |
| 352 | */ |
| 353 | void delete_cmd(void){ |
| 354 | int i; |
| 355 | Stmt loop; |
| 356 | |
| 357 | /* We should be done with options.. */ |
| 358 | verify_all_options(); |
| 359 | |
| 360 | db_must_be_within_tree(); |
| 361 | db_begin_transaction(); |
| @@ -445,12 +442,13 @@ | |
| 442 | #endif |
| 443 | caseSensitive = db_get_boolean("case-sensitive",caseSensitive); |
| 444 | } |
| 445 | if( !caseSensitive && g.localOpen ){ |
| 446 | db_multi_exec( |
| 447 | "CREATE INDEX IF NOT EXISTS %s.vfile_nocase" |
| 448 | " ON vfile(pathname COLLATE nocase)", |
| 449 | db_name("localdb") |
| 450 | ); |
| 451 | } |
| 452 | } |
| 453 | return caseSensitive; |
| 454 | } |
| @@ -522,11 +520,10 @@ | |
| 520 | Glob *pIgnore, *pClean; |
| 521 | |
| 522 | if( !dryRunFlag ){ |
| 523 | dryRunFlag = find_option("test",0,0)!=0; /* deprecated */ |
| 524 | } |
| 525 | |
| 526 | /* We should be done with options.. */ |
| 527 | verify_all_options(); |
| 528 | |
| 529 | db_must_be_within_tree(); |
| @@ -634,11 +631,10 @@ | |
| 631 | int vid; |
| 632 | char *zDest; |
| 633 | Blob dest; |
| 634 | Stmt q; |
| 635 | |
| 636 | db_must_be_within_tree(); |
| 637 | |
| 638 | /* We should be done with options.. */ |
| 639 | verify_all_options(); |
| 640 | |
| 641 |
-2
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -473,11 +473,10 @@ | ||
| 473 | 473 | Glob *pIgnore; |
| 474 | 474 | Blob rewrittenPathname; |
| 475 | 475 | const char *zPathname, *zDisplayName; |
| 476 | 476 | |
| 477 | 477 | if( find_option("temp",0,0)!=0 ) scanFlags |= SCAN_TEMP; |
| 478 | - capture_case_sensitive_option(); | |
| 479 | 478 | db_must_be_within_tree(); |
| 480 | 479 | cwdRelative = determine_cwd_relative_option(); |
| 481 | 480 | |
| 482 | 481 | /* We should be done with options.. */ |
| 483 | 482 | verify_all_options(); |
| @@ -596,11 +595,10 @@ | ||
| 596 | 595 | if( find_option("allckouts",0,0)!=0 ) scanFlags |= SCAN_NESTED; |
| 597 | 596 | zIgnoreFlag = find_option("ignore",0,1); |
| 598 | 597 | verboseFlag = find_option("verbose","v",0)!=0; |
| 599 | 598 | zKeepFlag = find_option("keep",0,1); |
| 600 | 599 | zCleanFlag = find_option("clean",0,1); |
| 601 | - capture_case_sensitive_option(); | |
| 602 | 600 | db_must_be_within_tree(); |
| 603 | 601 | if( zIgnoreFlag==0 ){ |
| 604 | 602 | zIgnoreFlag = db_get("ignore-glob", 0); |
| 605 | 603 | } |
| 606 | 604 | if( zKeepFlag==0 ){ |
| 607 | 605 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -473,11 +473,10 @@ | |
| 473 | Glob *pIgnore; |
| 474 | Blob rewrittenPathname; |
| 475 | const char *zPathname, *zDisplayName; |
| 476 | |
| 477 | if( find_option("temp",0,0)!=0 ) scanFlags |= SCAN_TEMP; |
| 478 | capture_case_sensitive_option(); |
| 479 | db_must_be_within_tree(); |
| 480 | cwdRelative = determine_cwd_relative_option(); |
| 481 | |
| 482 | /* We should be done with options.. */ |
| 483 | verify_all_options(); |
| @@ -596,11 +595,10 @@ | |
| 596 | if( find_option("allckouts",0,0)!=0 ) scanFlags |= SCAN_NESTED; |
| 597 | zIgnoreFlag = find_option("ignore",0,1); |
| 598 | verboseFlag = find_option("verbose","v",0)!=0; |
| 599 | zKeepFlag = find_option("keep",0,1); |
| 600 | zCleanFlag = find_option("clean",0,1); |
| 601 | capture_case_sensitive_option(); |
| 602 | db_must_be_within_tree(); |
| 603 | if( zIgnoreFlag==0 ){ |
| 604 | zIgnoreFlag = db_get("ignore-glob", 0); |
| 605 | } |
| 606 | if( zKeepFlag==0 ){ |
| 607 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -473,11 +473,10 @@ | |
| 473 | Glob *pIgnore; |
| 474 | Blob rewrittenPathname; |
| 475 | const char *zPathname, *zDisplayName; |
| 476 | |
| 477 | if( find_option("temp",0,0)!=0 ) scanFlags |= SCAN_TEMP; |
| 478 | db_must_be_within_tree(); |
| 479 | cwdRelative = determine_cwd_relative_option(); |
| 480 | |
| 481 | /* We should be done with options.. */ |
| 482 | verify_all_options(); |
| @@ -596,11 +595,10 @@ | |
| 595 | if( find_option("allckouts",0,0)!=0 ) scanFlags |= SCAN_NESTED; |
| 596 | zIgnoreFlag = find_option("ignore",0,1); |
| 597 | verboseFlag = find_option("verbose","v",0)!=0; |
| 598 | zKeepFlag = find_option("keep",0,1); |
| 599 | zCleanFlag = find_option("clean",0,1); |
| 600 | db_must_be_within_tree(); |
| 601 | if( zIgnoreFlag==0 ){ |
| 602 | zIgnoreFlag = db_get("ignore-glob", 0); |
| 603 | } |
| 604 | if( zKeepFlag==0 ){ |
| 605 |
-1
| --- src/file.c | ||
| +++ src/file.c | ||
| @@ -1102,11 +1102,10 @@ | ||
| 1102 | 1102 | void cmd_test_tree_name(void){ |
| 1103 | 1103 | int i; |
| 1104 | 1104 | Blob x; |
| 1105 | 1105 | db_find_and_open_repository(0,0); |
| 1106 | 1106 | blob_zero(&x); |
| 1107 | - capture_case_sensitive_option(); | |
| 1108 | 1107 | for(i=2; i<g.argc; i++){ |
| 1109 | 1108 | if( file_tree_name(g.argv[i], &x, 1) ){ |
| 1110 | 1109 | fossil_print("%s\n", blob_buffer(&x)); |
| 1111 | 1110 | blob_reset(&x); |
| 1112 | 1111 | } |
| 1113 | 1112 |
| --- src/file.c | |
| +++ src/file.c | |
| @@ -1102,11 +1102,10 @@ | |
| 1102 | void cmd_test_tree_name(void){ |
| 1103 | int i; |
| 1104 | Blob x; |
| 1105 | db_find_and_open_repository(0,0); |
| 1106 | blob_zero(&x); |
| 1107 | capture_case_sensitive_option(); |
| 1108 | for(i=2; i<g.argc; i++){ |
| 1109 | if( file_tree_name(g.argv[i], &x, 1) ){ |
| 1110 | fossil_print("%s\n", blob_buffer(&x)); |
| 1111 | blob_reset(&x); |
| 1112 | } |
| 1113 |
| --- src/file.c | |
| +++ src/file.c | |
| @@ -1102,11 +1102,10 @@ | |
| 1102 | void cmd_test_tree_name(void){ |
| 1103 | int i; |
| 1104 | Blob x; |
| 1105 | db_find_and_open_repository(0,0); |
| 1106 | blob_zero(&x); |
| 1107 | for(i=2; i<g.argc; i++){ |
| 1108 | if( file_tree_name(g.argv[i], &x, 1) ){ |
| 1109 | fossil_print("%s\n", blob_buffer(&x)); |
| 1110 | blob_reset(&x); |
| 1111 | } |
| 1112 |
-1
| --- src/finfo.c | ||
| +++ src/finfo.c | ||
| @@ -56,11 +56,10 @@ | ||
| 56 | 56 | ** entry). |
| 57 | 57 | ** |
| 58 | 58 | ** See also: artifact, cat, descendants, info, leaves |
| 59 | 59 | */ |
| 60 | 60 | void finfo_cmd(void){ |
| 61 | - capture_case_sensitive_option(); | |
| 62 | 61 | db_must_be_within_tree(); |
| 63 | 62 | if( find_option("status","s",0) ){ |
| 64 | 63 | Stmt q; |
| 65 | 64 | Blob line; |
| 66 | 65 | Blob fname; |
| 67 | 66 |
| --- src/finfo.c | |
| +++ src/finfo.c | |
| @@ -56,11 +56,10 @@ | |
| 56 | ** entry). |
| 57 | ** |
| 58 | ** See also: artifact, cat, descendants, info, leaves |
| 59 | */ |
| 60 | void finfo_cmd(void){ |
| 61 | capture_case_sensitive_option(); |
| 62 | db_must_be_within_tree(); |
| 63 | if( find_option("status","s",0) ){ |
| 64 | Stmt q; |
| 65 | Blob line; |
| 66 | Blob fname; |
| 67 |
| --- src/finfo.c | |
| +++ src/finfo.c | |
| @@ -56,11 +56,10 @@ | |
| 56 | ** entry). |
| 57 | ** |
| 58 | ** See also: artifact, cat, descendants, info, leaves |
| 59 | */ |
| 60 | void finfo_cmd(void){ |
| 61 | db_must_be_within_tree(); |
| 62 | if( find_option("status","s",0) ){ |
| 63 | Stmt q; |
| 64 | Blob line; |
| 65 | Blob fname; |
| 66 |
+1
-1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -203,12 +203,12 @@ | ||
| 203 | 203 | /* We should be done with options.. */ |
| 204 | 204 | verify_all_options(); |
| 205 | 205 | |
| 206 | 206 | if( g.argc==3 && (fsize = file_size(g.argv[2]))>0 && (fsize&0x1ff)==0 ){ |
| 207 | 207 | db_open_config(0); |
| 208 | - db_record_repository_filename(g.argv[2]); | |
| 209 | 208 | db_open_repository(g.argv[2]); |
| 209 | + db_record_repository_filename(g.argv[2]); | |
| 210 | 210 | fossil_print("project-name: %s\n", db_get("project-name", "<unnamed>")); |
| 211 | 211 | fossil_print("project-code: %s\n", db_get("project-code", "<none>")); |
| 212 | 212 | extraRepoInfo(); |
| 213 | 213 | return; |
| 214 | 214 | } |
| 215 | 215 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -203,12 +203,12 @@ | |
| 203 | /* We should be done with options.. */ |
| 204 | verify_all_options(); |
| 205 | |
| 206 | if( g.argc==3 && (fsize = file_size(g.argv[2]))>0 && (fsize&0x1ff)==0 ){ |
| 207 | db_open_config(0); |
| 208 | db_record_repository_filename(g.argv[2]); |
| 209 | db_open_repository(g.argv[2]); |
| 210 | fossil_print("project-name: %s\n", db_get("project-name", "<unnamed>")); |
| 211 | fossil_print("project-code: %s\n", db_get("project-code", "<none>")); |
| 212 | extraRepoInfo(); |
| 213 | return; |
| 214 | } |
| 215 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -203,12 +203,12 @@ | |
| 203 | /* We should be done with options.. */ |
| 204 | verify_all_options(); |
| 205 | |
| 206 | if( g.argc==3 && (fsize = file_size(g.argv[2]))>0 && (fsize&0x1ff)==0 ){ |
| 207 | db_open_config(0); |
| 208 | db_open_repository(g.argv[2]); |
| 209 | db_record_repository_filename(g.argv[2]); |
| 210 | fossil_print("project-name: %s\n", db_get("project-name", "<unnamed>")); |
| 211 | fossil_print("project-code: %s\n", db_get("project-code", "<none>")); |
| 212 | extraRepoInfo(); |
| 213 | return; |
| 214 | } |
| 215 |
+1
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -609,10 +609,11 @@ | ||
| 609 | 609 | memset(&g.tcl, 0, sizeof(TclContext)); |
| 610 | 610 | g.tcl.argc = g.argc; |
| 611 | 611 | g.tcl.argv = copy_args(g.argc, g.argv); /* save full arguments */ |
| 612 | 612 | #endif |
| 613 | 613 | g.mainTimerId = fossil_timer_start(); |
| 614 | + capture_case_sensitive_option(); | |
| 614 | 615 | g.zVfsName = find_option("vfs",0,1); |
| 615 | 616 | if( g.zVfsName==0 ){ |
| 616 | 617 | g.zVfsName = fossil_getenv("FOSSIL_VFS"); |
| 617 | 618 | } |
| 618 | 619 | if( g.zVfsName ){ |
| 619 | 620 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -609,10 +609,11 @@ | |
| 609 | memset(&g.tcl, 0, sizeof(TclContext)); |
| 610 | g.tcl.argc = g.argc; |
| 611 | g.tcl.argv = copy_args(g.argc, g.argv); /* save full arguments */ |
| 612 | #endif |
| 613 | g.mainTimerId = fossil_timer_start(); |
| 614 | g.zVfsName = find_option("vfs",0,1); |
| 615 | if( g.zVfsName==0 ){ |
| 616 | g.zVfsName = fossil_getenv("FOSSIL_VFS"); |
| 617 | } |
| 618 | if( g.zVfsName ){ |
| 619 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -609,10 +609,11 @@ | |
| 609 | memset(&g.tcl, 0, sizeof(TclContext)); |
| 610 | g.tcl.argc = g.argc; |
| 611 | g.tcl.argv = copy_args(g.argc, g.argv); /* save full arguments */ |
| 612 | #endif |
| 613 | g.mainTimerId = fossil_timer_start(); |
| 614 | capture_case_sensitive_option(); |
| 615 | g.zVfsName = find_option("vfs",0,1); |
| 616 | if( g.zVfsName==0 ){ |
| 617 | g.zVfsName = fossil_getenv("FOSSIL_VFS"); |
| 618 | } |
| 619 | if( g.zVfsName ){ |
| 620 |
-1
| --- src/merge.c | ||
| +++ src/merge.c | ||
| @@ -145,11 +145,10 @@ | ||
| 145 | 145 | if( !dryRunFlag ){ |
| 146 | 146 | dryRunFlag = find_option("nochange",0,0)!=0; /* deprecated */ |
| 147 | 147 | } |
| 148 | 148 | forceFlag = find_option("force","f",0)!=0; |
| 149 | 149 | zPivot = find_option("baseline",0,1); |
| 150 | - capture_case_sensitive_option(); | |
| 151 | 150 | verify_all_options(); |
| 152 | 151 | db_must_be_within_tree(); |
| 153 | 152 | if( zBinGlob==0 ) zBinGlob = db_get("binary-glob",0); |
| 154 | 153 | vid = db_lget_int("checkout", 0); |
| 155 | 154 | if( vid==0 ){ |
| 156 | 155 |
| --- src/merge.c | |
| +++ src/merge.c | |
| @@ -145,11 +145,10 @@ | |
| 145 | if( !dryRunFlag ){ |
| 146 | dryRunFlag = find_option("nochange",0,0)!=0; /* deprecated */ |
| 147 | } |
| 148 | forceFlag = find_option("force","f",0)!=0; |
| 149 | zPivot = find_option("baseline",0,1); |
| 150 | capture_case_sensitive_option(); |
| 151 | verify_all_options(); |
| 152 | db_must_be_within_tree(); |
| 153 | if( zBinGlob==0 ) zBinGlob = db_get("binary-glob",0); |
| 154 | vid = db_lget_int("checkout", 0); |
| 155 | if( vid==0 ){ |
| 156 |
| --- src/merge.c | |
| +++ src/merge.c | |
| @@ -145,11 +145,10 @@ | |
| 145 | if( !dryRunFlag ){ |
| 146 | dryRunFlag = find_option("nochange",0,0)!=0; /* deprecated */ |
| 147 | } |
| 148 | forceFlag = find_option("force","f",0)!=0; |
| 149 | zPivot = find_option("baseline",0,1); |
| 150 | verify_all_options(); |
| 151 | db_must_be_within_tree(); |
| 152 | if( zBinGlob==0 ) zBinGlob = db_get("binary-glob",0); |
| 153 | vid = db_lget_int("checkout", 0); |
| 154 | if( vid==0 ){ |
| 155 |
-1
| --- src/update.c | ||
| +++ src/update.c | ||
| @@ -144,11 +144,10 @@ | ||
| 144 | 144 | } |
| 145 | 145 | verboseFlag = find_option("verbose","v",0)!=0; |
| 146 | 146 | forceMissingFlag = find_option("force-missing",0,0)!=0; |
| 147 | 147 | debugFlag = find_option("debug",0,0)!=0; |
| 148 | 148 | setmtimeFlag = find_option("setmtime",0,0)!=0; |
| 149 | - capture_case_sensitive_option(); | |
| 150 | 149 | |
| 151 | 150 | /* We should be done with options.. */ |
| 152 | 151 | verify_all_options(); |
| 153 | 152 | |
| 154 | 153 | db_must_be_within_tree(); |
| 155 | 154 |
| --- src/update.c | |
| +++ src/update.c | |
| @@ -144,11 +144,10 @@ | |
| 144 | } |
| 145 | verboseFlag = find_option("verbose","v",0)!=0; |
| 146 | forceMissingFlag = find_option("force-missing",0,0)!=0; |
| 147 | debugFlag = find_option("debug",0,0)!=0; |
| 148 | setmtimeFlag = find_option("setmtime",0,0)!=0; |
| 149 | capture_case_sensitive_option(); |
| 150 | |
| 151 | /* We should be done with options.. */ |
| 152 | verify_all_options(); |
| 153 | |
| 154 | db_must_be_within_tree(); |
| 155 |
| --- src/update.c | |
| +++ src/update.c | |
| @@ -144,11 +144,10 @@ | |
| 144 | } |
| 145 | verboseFlag = find_option("verbose","v",0)!=0; |
| 146 | forceMissingFlag = find_option("force-missing",0,0)!=0; |
| 147 | debugFlag = find_option("debug",0,0)!=0; |
| 148 | setmtimeFlag = find_option("setmtime",0,0)!=0; |
| 149 | |
| 150 | /* We should be done with options.. */ |
| 151 | verify_all_options(); |
| 152 | |
| 153 | db_must_be_within_tree(); |
| 154 |