Revision d2ae751b1cae0674e0a1f7fe4da0a341365cefbb authored by Junio C Hamano on 14 April 2015, 18:49:09 UTC, committed by Junio C Hamano on 14 April 2015, 18:49:09 UTC
* sb/plug-streaming-leak:
  streaming.c: fix a memleak
2 parent s 0cb7054 + 9ce4ad3
Raw File
lib-pager.sh
# Helpers for tests of git's choice of pager.

test_expect_success 'determine default pager' '
	test_might_fail git config --unset core.pager &&
	less=$(
		unset PAGER GIT_PAGER;
		git var GIT_PAGER
	) &&
	test -n "$less"
'

if expr "$less" : '[a-z][a-z]*$' >/dev/null
then
	test_set_prereq SIMPLEPAGER
fi
back to top