Revision 8d61f0f07d078f4ea05d0b70511b0c8c39d8e863 authored by Junio C Hamano on 18 May 2016, 21:40:13 UTC, committed by Junio C Hamano on 18 May 2016, 21:40:14 UTC
* rn/glossary-typofix:
  Documentation: fix typo 'In such these cases'
2 parent s 977cb3e + 2e39a24
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