Skip to content

Commit

Permalink
prefer git pager when one is configured
Browse files Browse the repository at this point in the history
  • Loading branch information
ap committed Aug 4, 2008
1 parent b48c4de commit b39afd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion git-sh.bash
Expand Up @@ -179,5 +179,6 @@ _help_display() {
}

help() {
_help_display | ${PAGER:-less}
local _git_pager=$(git config core.pager)
_help_display | ${_git_pager:-${PAGER:-less}}
}

0 comments on commit b39afd9

Please sign in to comment.