Fossil SCM
Add -e as a short option for --edit-comment in fossil amend.
Commit
9ea1f140436a1907c3c7fd84be05ccb4723ca9b5
Parent
f3e8e3ead384995…
1 file changed
+2
-2
+2
-2
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -2799,11 +2799,11 @@ | ||
| 2799 | 2799 | ** Options: |
| 2800 | 2800 | ** |
| 2801 | 2801 | ** --author USER Make USER the author for check-in |
| 2802 | 2802 | ** -m|--comment COMMENT Make COMMENT the check-in comment |
| 2803 | 2803 | ** -M|--message-file FILE Read the amended comment from FILE |
| 2804 | -** --edit-comment Launch editor to revise comment | |
| 2804 | +** -e|--edit-comment Launch editor to revise comment | |
| 2805 | 2805 | ** --date DATE Make DATE the check-in time |
| 2806 | 2806 | ** --bgcolor COLOR Apply COLOR to this check-in |
| 2807 | 2807 | ** --branchcolor COLOR Apply and propagate COLOR to the branch |
| 2808 | 2808 | ** --tag TAG Add new TAG to this check-in |
| 2809 | 2809 | ** --cancel TAG Cancel TAG from this check-in |
| @@ -2841,11 +2841,11 @@ | ||
| 2841 | 2841 | int nTags, nCancels; |
| 2842 | 2842 | int i; |
| 2843 | 2843 | Stmt q; |
| 2844 | 2844 | |
| 2845 | 2845 | if( g.argc==3 ) usage(AMEND_USAGE_STMT); |
| 2846 | - fEditComment = find_option("edit-comment",0,0)!=0; | |
| 2846 | + fEditComment = find_option("edit-comment","e",0)!=0; | |
| 2847 | 2847 | zNewComment = find_option("comment","m",1); |
| 2848 | 2848 | zComFile = find_option("message-file","M",1); |
| 2849 | 2849 | zNewBranch = find_option("branch",0,1); |
| 2850 | 2850 | zNewColor = find_option("bgcolor",0,1); |
| 2851 | 2851 | zNewBrColor = find_option("branchcolor",0,1); |
| 2852 | 2852 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2799,11 +2799,11 @@ | |
| 2799 | ** Options: |
| 2800 | ** |
| 2801 | ** --author USER Make USER the author for check-in |
| 2802 | ** -m|--comment COMMENT Make COMMENT the check-in comment |
| 2803 | ** -M|--message-file FILE Read the amended comment from FILE |
| 2804 | ** --edit-comment Launch editor to revise comment |
| 2805 | ** --date DATE Make DATE the check-in time |
| 2806 | ** --bgcolor COLOR Apply COLOR to this check-in |
| 2807 | ** --branchcolor COLOR Apply and propagate COLOR to the branch |
| 2808 | ** --tag TAG Add new TAG to this check-in |
| 2809 | ** --cancel TAG Cancel TAG from this check-in |
| @@ -2841,11 +2841,11 @@ | |
| 2841 | int nTags, nCancels; |
| 2842 | int i; |
| 2843 | Stmt q; |
| 2844 | |
| 2845 | if( g.argc==3 ) usage(AMEND_USAGE_STMT); |
| 2846 | fEditComment = find_option("edit-comment",0,0)!=0; |
| 2847 | zNewComment = find_option("comment","m",1); |
| 2848 | zComFile = find_option("message-file","M",1); |
| 2849 | zNewBranch = find_option("branch",0,1); |
| 2850 | zNewColor = find_option("bgcolor",0,1); |
| 2851 | zNewBrColor = find_option("branchcolor",0,1); |
| 2852 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2799,11 +2799,11 @@ | |
| 2799 | ** Options: |
| 2800 | ** |
| 2801 | ** --author USER Make USER the author for check-in |
| 2802 | ** -m|--comment COMMENT Make COMMENT the check-in comment |
| 2803 | ** -M|--message-file FILE Read the amended comment from FILE |
| 2804 | ** -e|--edit-comment Launch editor to revise comment |
| 2805 | ** --date DATE Make DATE the check-in time |
| 2806 | ** --bgcolor COLOR Apply COLOR to this check-in |
| 2807 | ** --branchcolor COLOR Apply and propagate COLOR to the branch |
| 2808 | ** --tag TAG Add new TAG to this check-in |
| 2809 | ** --cancel TAG Cancel TAG from this check-in |
| @@ -2841,11 +2841,11 @@ | |
| 2841 | int nTags, nCancels; |
| 2842 | int i; |
| 2843 | Stmt q; |
| 2844 | |
| 2845 | if( g.argc==3 ) usage(AMEND_USAGE_STMT); |
| 2846 | fEditComment = find_option("edit-comment","e",0)!=0; |
| 2847 | zNewComment = find_option("comment","m",1); |
| 2848 | zComFile = find_option("message-file","M",1); |
| 2849 | zNewBranch = find_option("branch",0,1); |
| 2850 | zNewColor = find_option("bgcolor",0,1); |
| 2851 | zNewBrColor = find_option("branchcolor",0,1); |
| 2852 |