Commit 1bf481da6914b7201e27d5c92262a76461311740

"true" in .gitconfig also means true, in addition to "yes".
bin/git-wtf
(1 / 0)
  
126126want_color = `git config color.wtf`
127127want_color = `git config color.ui` if want_color.empty?
128128$color = case want_color.chomp
129 when "true"; true
129130 when "yes"; true
130131 when "auto"; $stdout.tty?
131132end

Comments

Add a new comment:

Login or create an account to post a comment

Add your comment