On Tue, Jul 22, 2008 at 02:46:04AM -0400, Jeff King wrote: > I am tempted by the "order switching" I mentioned, but that would entail > the git process waiting to clean the pager, during which time it may be > consuming memory. But maybe that isn't worth worrying about. It feels very wrong proposing this during release freeze, but here is the "pager is child of git" implementation. Patch 1/1 adds a bit of necessary infrastructure to run-command, and patch 2/2 does the deed. The nice thing is that it unifies the Windows and Unix implementations of setup_pager, so we get a nice line reduction. pager.c | 49 ++++++++----------------------------------------- run-command.c | 2 ++ run-command.h | 1 + 3 files changed, 11 insertions(+), 41 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html