Re: git status in clean working dir
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 22, 2008, 11:24 UTC
- Message-ID
- <alpine.DEB.1.00.0807221323440.3391@eeepc-johanness>
- In-Reply-To
- <20080722045223.GC20787@sigill.intra.peff.net>
Hi,
On Tue, 22 Jul 2008, Jeff King wrote:
Show 12 quoted lines
> On Tue, Jul 22, 2008 at 12:44:00AM -0400, Jeff King wrote: > > > 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. > > Hmm, it looks like the MINGW32 codepath already _does_ spawn in that > order, but has a "wait_for_child" atexit handler. I wonder if there is a > reason all platforms can't use that trick (though the mingw approach > uses run_command, which makes it harder to do the "wait for input before > starting less" trick).
I recently suggested exactly that already, to catch SIGSEGVs in the paged process, amongst other things.
Ciao, Dscho