]> git.ipfire.org Git - thirdparty/git.git/commit - pager.c
"git -p cmd" to page anywhere
authorJunio C Hamano <junkio@cox.net>
Tue, 6 Jun 2006 23:58:40 +0000 (16:58 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 9 Jul 2006 10:27:03 +0000 (03:27 -0700)
commit85fb65ed6e41e93760a91b33b512d3d9dc67ac66
treee8b00ceee2a8b5880d192609ac80ebfbbeeb0a6d
parentcfc01c038709e4cdbf506d29937cac2bc1b76d39
"git -p cmd" to page anywhere

This allows you to say:

git -p diff v2.6.16-rc5..

and the command pipes the output of any git command to your pager.

[jc: this resurrects a month old RFC patch with improvement
 suggested by Linus to call it --paginate instead of --less.]

Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h
diff.c
git.c
pager.c