-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support forcing color output on/off (#799)
* Support forcing color output on/off Closes #798 Introduce flag `--color` to control the colorization of diff output. Add flag to all commands that can output colorized diff text: - `diff` - `apply` - `prune` `--color` has 3 allowed values: - `auto` (default): colorize if stdout is a tty (current behavior) - `always`: always colorize output - `never`: never colorize output * Remove unused attribute Co-authored-by: Matt Wilder <[email protected]> Co-authored-by: Julien Duchesne <[email protected]>
- Loading branch information
1 parent
d36a5d0
commit 4a53805
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters