Fossil SCM
Setting the text editor (either the "editor" setting, or the VISUAL or EDITOR environment variables) to "off", "no", "false", or "0" cause the use of a text editor for checkin comment entry to be bypassed. [forum:/forumpost/9b613281b45a3df7|Forum post 9b613281b]
Commit
cd03acbde25ad08c439c272c37b5712169990169782e6876405a5f0c718cd74c
Parent
a97225d7fc4bf0c…
1 file changed
+1
+1
| --- src/util.c | ||
| +++ src/util.c | ||
| @@ -692,10 +692,11 @@ | ||
| 692 | 692 | zEditor = azStdEd[i]; |
| 693 | 693 | }else{ |
| 694 | 694 | i++; |
| 695 | 695 | } |
| 696 | 696 | } |
| 697 | + if( zEditor && is_false(zEditor) ) zEditor = 0; | |
| 697 | 698 | return zEditor; |
| 698 | 699 | } |
| 699 | 700 | |
| 700 | 701 | /* |
| 701 | 702 | ** Construct a temporary filename. |
| 702 | 703 |
| --- src/util.c | |
| +++ src/util.c | |
| @@ -692,10 +692,11 @@ | |
| 692 | zEditor = azStdEd[i]; |
| 693 | }else{ |
| 694 | i++; |
| 695 | } |
| 696 | } |
| 697 | return zEditor; |
| 698 | } |
| 699 | |
| 700 | /* |
| 701 | ** Construct a temporary filename. |
| 702 |
| --- src/util.c | |
| +++ src/util.c | |
| @@ -692,10 +692,11 @@ | |
| 692 | zEditor = azStdEd[i]; |
| 693 | }else{ |
| 694 | i++; |
| 695 | } |
| 696 | } |
| 697 | if( zEditor && is_false(zEditor) ) zEditor = 0; |
| 698 | return zEditor; |
| 699 | } |
| 700 | |
| 701 | /* |
| 702 | ** Construct a temporary filename. |
| 703 |