Re: git status in clean working dir
- From
Jeff King <peff@peff.net>
- Date
- Jul 22, 2008, 06:06 UTC
- Message-ID
- <20080722060643.GA25023@sigill.intra.peff.net>
- In-Reply-To
- <20080722053921.GA4983@glandium.org>
On Tue, Jul 22, 2008 at 07:39:21AM +0200, Mike Hommey wrote:
Show 5 quoted lines
> > This marks diff-files as FORBID_PAGER; I will leave it to others to > > fight about which commands should have it. But it doesn't make sense to > > mark "status" since some people obviously _want_ the paging there. > > Why not "simply" forbid the pager when output is not a terminal ?
We already do that (see pager.c:53). The original poster still had a problem, but I don't know if it was for actual usage or simply a toy
$ git status $ echo $? $ echo "why don't exit codes work in status?" | mail git@vger
question.
-Peff