-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Base diff colorization on stdout not stderr. Fixes #246
- Loading branch information
1 parent
6e73c52
commit 169660d
Showing
2 changed files
with
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#Bug Fixes | ||
|
||
- `spruce diff` output used to be colorized based on whether or not STDERR was | ||
sent to a terminal. This led to issues piping or redirecting the actual diff output, | ||
so now the decision is based on what type of device STDOUT is. All other `spruce` | ||
subcommands are unaffected, and continue to colorize based on STDERR's device type. | ||
|
||
Thanks @giner for pointing this out! |
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