Implement setup_pager just like in git
commit992b652af325ad34b616ffc169016fbe7f659c96
authorKirill Smelkov <kirr@landau.phys.spbu.ru>
Wed, 21 Jan 2009 20:18:42 +0000 (21 23:18 +0300)
committermartin f. krafft <madduck@debian.org>
Fri, 23 Jan 2009 04:59:36 +0000 (23 15:59 +1100)
tree079d7026ac04fd955d94552e104a35ceac97ffae
parent90faf78fac344ce651f45c8a06c43edb42d2290d
Implement setup_pager just like in git

setup_pager() spawns a pager process and redirect the rest of our output
to it.

This will be needed to fix `tg patch` output in the next commit.

Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
tg.sh