Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Marc Schiffbauer <mschiff@g.o>, Zac Medico <zmedico@g.o>
Subject: [gentoo-portage-dev] [PATCH] dispatch-conf.conf: less-opts --quit-if-one-screen for bug 501886
Date: Tue, 10 Mar 2015 16:25:57
Message-Id: 1426004718-17321-1-git-send-email-zmedico@gentoo.org
1 From: Marc Schiffbauer <mschiff@g.o>
2
3 Use --quit-if-one-screen instead of --QUIT-AT-EOF, so that less doesn't
4 quit automatically when the user has scrolled to the bottom.
5
6 X-Gentoo-Bug: 501886
7 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=501886
8 Signed-off-by: Zac Medico <zmedico@g.o>
9 ---
10 cnf/dispatch-conf.conf | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/cnf/dispatch-conf.conf b/cnf/dispatch-conf.conf
14 index 125b7cc..7efce8a 100644
15 --- a/cnf/dispatch-conf.conf
16 +++ b/cnf/dispatch-conf.conf
17 @@ -31,7 +31,7 @@ diff="diff -Nu '%s' '%s'"
18 pager=""
19
20 # Default options used if less is the pager
21 -less-opts="--no-init --QUIT-AT-EOF"
22 +less-opts="--no-init --quit-if-one-screen"
23
24 # Diff for interactive merges.
25 # %s output file
26 --
27 2.3.0

Replies