commit: a35afe72151294ff48f234ad551297402215b173
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu May 16 13:17:25 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu May 16 13:17:25 2019 +0000
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=a35afe72
qlop: don't default to lastmerge when atoms are given
When an atom is given, one likely wants to see full history for that, so
show it.
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
qlop.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/qlop.c b/qlop.c
index 11bbbc3..ab5dc10 100644
--- a/qlop.c
+++ b/qlop.c
@@ -1000,11 +1000,12 @@ int qlop_main(int argc, char **argv)
{
m.do_merge = 1;
m.do_unmerge = 1;
- if (array_cnt(atoms) == 0)
+ if (array_cnt(atoms) == 0) {
m.do_sync = 1;
+ if (start_time == 0)
+ m.show_lastmerge = 1;
+ }
m.do_time = 1;
- if (start_time == 0)
- m.show_lastmerge = 1;
}
/* handle deps */