Fossil SCM
Honor the -f flag on commit. (It was using -r in place of -f due to a typo, apparently.)
Commit
e0580dfeeea53a641c5ae575fae0b53cd414c66b
Parent
44811a65f8c7365…
1 file changed
+1
-1
+1
-1
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -337,11 +337,11 @@ | ||
| 337 | 337 | Blob cksum1, cksum2; /* Before and after commit checksums */ |
| 338 | 338 | Blob cksum1b; /* Checksum recorded in the manifest */ |
| 339 | 339 | |
| 340 | 340 | noSign = find_option("nosign","",0)!=0; |
| 341 | 341 | zComment = find_option("comment","m",1); |
| 342 | - forceFlag = find_option("force", "r", 0)!=0; | |
| 342 | + forceFlag = find_option("force", "f", 0)!=0; | |
| 343 | 343 | db_must_be_within_tree(); |
| 344 | 344 | noSign = db_get_int("omitsign", 0)|noSign; |
| 345 | 345 | verify_all_options(); |
| 346 | 346 | |
| 347 | 347 | /* |
| 348 | 348 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -337,11 +337,11 @@ | |
| 337 | Blob cksum1, cksum2; /* Before and after commit checksums */ |
| 338 | Blob cksum1b; /* Checksum recorded in the manifest */ |
| 339 | |
| 340 | noSign = find_option("nosign","",0)!=0; |
| 341 | zComment = find_option("comment","m",1); |
| 342 | forceFlag = find_option("force", "r", 0)!=0; |
| 343 | db_must_be_within_tree(); |
| 344 | noSign = db_get_int("omitsign", 0)|noSign; |
| 345 | verify_all_options(); |
| 346 | |
| 347 | /* |
| 348 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -337,11 +337,11 @@ | |
| 337 | Blob cksum1, cksum2; /* Before and after commit checksums */ |
| 338 | Blob cksum1b; /* Checksum recorded in the manifest */ |
| 339 | |
| 340 | noSign = find_option("nosign","",0)!=0; |
| 341 | zComment = find_option("comment","m",1); |
| 342 | forceFlag = find_option("force", "f", 0)!=0; |
| 343 | db_must_be_within_tree(); |
| 344 | noSign = db_get_int("omitsign", 0)|noSign; |
| 345 | verify_all_options(); |
| 346 | |
| 347 | /* |
| 348 |