git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] t9001: set TERM=dumb to prevent ANSI output

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 7, 2008, 18:49 UTC
Message-ID
<alpine.LSU.1.00.0803071948000.19395@racer.site>
In-Reply-To
<7vbq5q301l.fsf@gitster.siamese.dyndns.org>
Hi,
On Fri, 7 Mar 2008, Junio C Hamano wrote:
Show 33 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> > Hi,
> >
> > On Thu, 6 Mar 2008, Junio C Hamano wrote:
> >
> >> Junio C Hamano <gitster@pobox.com> writes:
> >> 
> >> > Christian Couder <chriscool@tuxfamily.org> writes:
> >> > ...
> >> >> This may not work well with colored output.
> >> >> In test-lib.sh line 62 there is :
> >> >>
> >> >> [ "x$TERM" != "xdumb" ] &&
> >> >> 	[ -t 1 ] &&
> >> >> 	tput bold >/dev/null 2>&1 &&
> >> >> 	tput setaf 1 >/dev/null 2>&1 &&
> >> >> 	tput sgr0 >/dev/null 2>&1 &&
> >> >> 	color=t
> >> >
> >> > Ahh.  Sorry about that.
> >> 
> >> Ahem, third time lucky.
> >
> > Well, with this:
> >
> >>  t/test-lib.sh |   24 +++++++++++++++++-------
> >
> > I think it is no longer worth it _not_ to special-case it.  IOW I'd prefer 
> > my original patch for simplicity.
> 
> Hmm.  Do you still prefer "patch individual" approach, even after
> considering longer term maintainability?
Well, I am not the maintainer, and I don't envy you for that.

You are a kick-ass maintainer, so I think whatever you feel is the best way to proceed now, is good.

Ciao, Dscho

Previous: Junio C Hamano
Message 9 of 9 in “t9001: set TERM=dumb to prevent ANSI output”
  1. t9001: set TERM=dumb to prevent ANSI outputJohannes Schindelin, Mar 6, 2008
  2. Junio C HamanoMar 6, 2008
  3. Johannes SchindelinMar 7, 2008
  4. Christian CouderMar 7, 2008
  5. Junio C HamanoMar 7, 2008
  6. Junio C HamanoMar 7, 2008
  7. Johannes SchindelinMar 7, 2008
  8. Junio C HamanoMar 7, 2008
  9. Johannes SchindelinMar 7, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.