From: Junio C Hamano Date: Sat, 05 Aug 2006 11:27:46 GMT Subject: Re: [PATCH] git-status: colorize status output Message-ID: <7vac6je825.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <7vejvve8ci.fsf@assigned-by-dhcp.cox.net> Junio C Hamano writes: >> Is there any way to do isatty() from shell scripts? > > Yes. Oops -- wrong answer which is too short. $ git grep -B1 'standard input' -- '*.sh'