Re: [PATCH] Add some fancy colors in the test library when terminal supports it.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pierre Habouzit <madcoder@...>
Cc: Johannes Sixt <j.sixt@...>, Shawn O. Pearce <spearce@...>, <git@...>
Date: Monday, October 22, 2007 - 7:35 am

Pierre Habouzit schrieb:

I was too terse, sorry. I wanted to point out that if tput is not available, 
the second invocation will leave "tput: command not found" behind on stderr. 
Therefore, I proposed to make the definition of say_color() different 
depending on whether $color is set or not. Then you don't need to test for 
$color twice inside the function.

-- Hannes
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Add some fancy colors in the test library when t..., Christian Couder, (Tue Oct 23, 12:08 am)
Re: [PATCH] Add some fancy colors in the test library when t..., Johannes Sixt, (Mon Oct 22, 7:35 am)