From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 09292138334 for ; Thu, 16 May 2019 13:18:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB792E07B2; Thu, 16 May 2019 13:18:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CEC60E07B2 for ; Thu, 16 May 2019 13:18:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D7153446DF for ; Thu, 16 May 2019 13:18:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 307EF5D9 for ; Thu, 16 May 2019 13:18:01 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1558012645.a35afe72151294ff48f234ad551297402215b173.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qlop.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: a35afe72151294ff48f234ad551297402215b173 X-VCS-Branch: master Date: Thu, 16 May 2019 13:18:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6ef4a942-f3d1-4aa9-a3c7-7bfc0b62edb2 X-Archives-Hash: 050e8ea532e9f15af1bf0db45b8de14b commit: a35afe72151294ff48f234ad551297402215b173 Author: Fabian Groffen gentoo org> AuthorDate: Thu May 16 13:17:25 2019 +0000 Commit: Fabian Groffen gentoo 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 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 */