From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Schindelin Subject: Re: [PATCH] t9001: set TERM=dumb to prevent ANSI output Date: Fri, 7 Mar 2008 19:49:02 +0100 (CET) Message-ID: References: <7vmypb8muj.fsf@gitster.siamese.dyndns.org> <200803070541.15793.chriscool@tuxfamily.org> <7v7igf5cpk.fsf@gitster.siamese.dyndns.org> <7vskz33vow.fsf@gitster.siamese.dyndns.org> <7vbq5q301l.fsf@gitster.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Christian Couder , git@vger.kernel.org, Pierre Habouzit To: Junio C Hamano X-From: git-owner@vger.kernel.org Fri Mar 07 19:49:51 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1JXhdW-0007ZT-MX for gcvg-git-2@gmane.org; Fri, 07 Mar 2008 19:49:43 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757948AbYCGStD (ORCPT ); Fri, 7 Mar 2008 13:49:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759145AbYCGStC (ORCPT ); Fri, 7 Mar 2008 13:49:02 -0500 Received: from mail.gmx.net ([213.165.64.20]:40061 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753086AbYCGStA (ORCPT ); Fri, 7 Mar 2008 13:49:00 -0500 Received: (qmail invoked by alias); 07 Mar 2008 18:48:58 -0000 Received: from unknown (EHLO [138.251.11.74]) [138.251.11.74] by mail.gmx.net (mp025) with SMTP; 07 Mar 2008 19:48:58 +0100 X-Authenticated: #1490710 X-Provags-ID: V01U2FsdGVkX186/RJ6Qbg6tTxFkKqte1eKRDa/wKGOlSVdOiTVJW TafhGuX4ZGZUIm X-X-Sender: gene099@racer.site In-Reply-To: <7vbq5q301l.fsf@gitster.siamese.dyndns.org> User-Agent: Alpine 1.00 (LSU 882 2007-12-20) X-Y-GMX-Trusted: 0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Hi, On Fri, 7 Mar 2008, Junio C Hamano wrote: > Johannes Schindelin writes: > > > Hi, > > > > On Thu, 6 Mar 2008, Junio C Hamano wrote: > > > >> Junio C Hamano writes: > >> > >> > Christian Couder 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