Teach git var about GIT_PAGER
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 31 Oct 2009 01:41:27 +0000 (20:41 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Nov 2009 20:20:47 +0000 (12:20 -0800)
commit6361824589bc2d32989a9a33f985d09a368436a3
tree31050baa04194fee66e0c05b0e9569c538b41925
parent44fcb4977cbae67f4698306ccfe982420ceebcbf
Teach git var about GIT_PAGER

Expose the command found by setup_pager() for scripts to use.
Scripts can use this to avoid repeating the logic to look for a
proper pager in each command.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-var.txt
cache.h
pager.c
var.c