]> git.ipfire.org Git - thirdparty/git.git/commit - pager.c
pager_in_use: use git_env_bool()
authorJeff King <peff@peff.net>
Fri, 24 Mar 2017 18:59:12 +0000 (14:59 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Mar 2017 19:14:11 +0000 (12:14 -0700)
commitdf2a6e38b7e192c32d1df4b10cc278c2a66fb6a0
tree358e630d79099d5f75bb611430c2d45ea2ad387e
parent8624735d9aca62ffaef84de3b2b8345b1771086a
pager_in_use: use git_env_bool()

The pager_in_use() function predates git_env_bool(), but
ends up doing the same thing.  Let's make use of the latter,
which is shorter and less repetitive.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pager.c