Differences From Artifact [629db3a0e9]:
- File src/main.c — part of check-in [855076ce79] at 2025-04-25 16:18:00 on branch standard-cli-colors — Sync with trunk. (user: florian size: 139877) [more...]
To Artifact [f2abb522bb]:
- File src/main.c — part of check-in [fbfa6daeca] at 2025-04-25 16:19:00 on branch standard-cli-colors — Fix a logic error in processing of the NO_COLOR environment variable. (user: florian size: 139878)
| ︙ | |||
678 679 680 681 682 683 684 | 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 | - + |
}else{
fossil_fatal("the --color option must be 'never', 'always', or 'auto'");
}
}
if( g.colorOutput==COLOR_VT_UNSET ){
zEnvVar = fossil_getenv("NO_COLOR");
if( zEnvVar ){
|
| ︙ |