aboutsummaryrefslogtreecommitdiff
path: root/cnf
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-09-28 11:41:44 -0700
committerZac Medico <zmedico@gentoo.org>2011-09-28 11:41:44 -0700
commit3be910392f1186cacf0796e952fb5dae38b10f57 (patch)
treef8127a0995d1bf3f60b4bf2fb58e1a10ddf85fbe /cnf
parentetc-update: support PAGER env var for bug #384663 (diff)
downloadportage-3be910392f1186cacf0796e952fb5dae38b10f57.tar.gz
portage-3be910392f1186cacf0796e952fb5dae38b10f57.tar.bz2
portage-3be910392f1186cacf0796e952fb5dae38b10f57.zip
dispatch-conf: support PAGER var for bug #384663
Diffstat (limited to 'cnf')
-rw-r--r--cnf/dispatch-conf.conf10
1 files changed, 9 insertions, 1 deletions
diff --git a/cnf/dispatch-conf.conf b/cnf/dispatch-conf.conf
index b51b61ae1..c4ab33f99 100644
--- a/cnf/dispatch-conf.conf
+++ b/cnf/dispatch-conf.conf
@@ -22,7 +22,15 @@ use-rcs=no
# %s new file
# If using colordiff instead of diff, the less -R option may be required
# for correct display.
-diff="diff -Nu '%s' '%s' | less --no-init --QUIT-AT-EOF"
+diff="diff -Nu '%s' '%s'"
+
+# Set the pager for use with diff commands (this will
+# cause the PAGER environment variable to be ignored).
+# Setting pager="cat" will disable pager usage.
+pager=""
+
+# Default options used if less is the pager
+less-opts="--no-init --QUIT-AT-EOF"
# Diff for interactive merges.
# %s output file