Fossil SCM

Honor the -f flag on commit. (It was using -r in place of -f due to a typo, apparently.)

drh 2008-02-04 00:24 trunk
Commit e0580dfeeea53a641c5ae575fae0b53cd414c66b
1 file changed +1 -1
+1 -1
--- src/checkin.c
+++ src/checkin.c
@@ -337,11 +337,11 @@
337337
Blob cksum1, cksum2; /* Before and after commit checksums */
338338
Blob cksum1b; /* Checksum recorded in the manifest */
339339
340340
noSign = find_option("nosign","",0)!=0;
341341
zComment = find_option("comment","m",1);
342
- forceFlag = find_option("force", "r", 0)!=0;
342
+ forceFlag = find_option("force", "f", 0)!=0;
343343
db_must_be_within_tree();
344344
noSign = db_get_int("omitsign", 0)|noSign;
345345
verify_all_options();
346346
347347
/*
348348
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button