Advertisement
Guest User

Untitled

a guest
Nov 15th, 2011
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. core.pager::
  2. The command that git will use to paginate output. Can
  3. be overridden with the `GIT_PAGER` environment
  4. variable. Note that git sets the `LESS` environment
  5. variable to `FRSX` if it is unset when it runs the
  6. pager. One can change these settings by setting the
  7. `LESS` variable to some other value. Alternately,
  8. these settings can be overridden on a project or
  9. global basis by setting the `core.pager` option.
  10. Setting `core.pager` has no affect on the `LESS`
  11. environment variable behaviour above, so if you want
  12. to override git's default settings this way, you need
  13. to be explicit. For example, to disable the S option
  14. in a backward compatible manner, set `core.pager`
  15. to `less -+$LESS -FRX`. This will be passed to the
  16. shell by git, which will translate the final command to
  17. `LESS=FRSX less -+FRSX -FRX`.
  18.  
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement