Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/lib-pager.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / lib-pager.sh` 15 lines ยท 313 bytes Raw Blame History 1 # Helpers for tests of git's choice of pager. 2 3 test_expect_success 'determine default pager' ' 4 test_might_fail git config --unset core.pager && 5 less=$( 6 sane_unset PAGER GIT_PAGER && 7 git var GIT_PAGER 8 ) && 9 test -n "$less" 10 ' 11 12 if expr "$less" : '[a-z][a-z]*$' >/dev/null 13 then 14 test_set_prereq SIMPLEPAGER 15 fi