4 * This is split up from the rest of git so that we might do
5 * something different on Windows, for example.
8 static void run_pager(void)
10 const char *prog
= getenv("PAGER");
13 setenv("LESS", "-S", 0);
14 execlp(prog
, prog
, NULL
);
17 void setup_pager(void)
33 /* return in the child */
41 /* The original process turns into the PAGER */