Re: git status in clean working dir
- From
Jeff King <peff@peff.net>
- Date
- Jul 22, 2008, 04:44 UTC
- Message-ID
- <20080722044359.GB20787@sigill.intra.peff.net>
- In-Reply-To
- <7vljzur5wd.fsf@gitster.siamese.dyndns.org>
On Mon, Jul 21, 2008 at 07:48:02PM -0700, Junio C Hamano wrote:
> Another possibility is to set up an extra process whose sole purpose is to > wait for the main process that feeds the pager pipe and relay its exit > status to the outside world. But I do not think we would want to go > there...
We could also swap the parent/child relationship, and have the pager as child. But I assume that it is done the way we have it because otherwise the shell gets confused about when the command ends (i.e., we want it to run until pager completion). I didn't test, though.
-Peff