merge(third_party/git): Merge squashed git subtree at v2.23.0
Merge commit '1b593e1ea4
' as 'third_party/git'
This commit is contained in:
commit
7ef0d62730
3629 changed files with 1139935 additions and 0 deletions
15
third_party/git/t/lib-pager.sh
vendored
Normal file
15
third_party/git/t/lib-pager.sh
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue