Revision 8e4b75a97beaf88aa83ab2b18c07bd8ae4954f28 authored by Junio C Hamano on 10 August 2016, 18:56:56 UTC, committed by Junio C Hamano on 10 August 2016, 18:56:56 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 019d8a4
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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...