Commit 1bf481da6914b7201e27d5c92262a76461311740
- Diff rendering mode:
- inline
- side by side
bin/git-wtf
(1 / 0)
|   | |||
| 126 | 126 | want_color = `git config color.wtf` | |
| 127 | 127 | want_color = `git config color.ui` if want_color.empty? | |
| 128 | 128 | $color = case want_color.chomp | |
| 129 | when "true"; true | ||
| 129 | 130 | when "yes"; true | |
| 130 | 131 | when "auto"; $stdout.tty? | |
| 131 | 132 | end |
Comments
Add a new comment:
Login or create an account to post a comment
Add your comment
Please log in to comment

