From 35436827af2c468cad4d62798070fa5e10c5f871 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 21 Mar 2017 12:51:48 -0400 Subject: [PATCH] status: Only show one of BaseCommit/Commit Following up on the previous commit regarding timestamps - the checksum of the derived commit isn't very useful. It's not going to be the same between any two people's systems. What we should show instead is the rpm-md repository timestamps. In the short term though, I think omitting this even without the rpm-md timestamps is better. Less visual clutter. Closes: #697 Approved by: jlebon --- src/app/rpmostree-builtin-status.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/rpmostree-builtin-status.c b/src/app/rpmostree-builtin-status.c index 19ebe261..bcb92883 100644 --- a/src/app/rpmostree-builtin-status.c +++ b/src/app/rpmostree-builtin-status.c @@ -267,7 +267,8 @@ status_generic (RPMOSTreeSysroot *sysroot_proxy, if (is_locally_assembled) print_kv ("BaseCommit", max_key_len, base_checksum); - print_kv ("Commit", max_key_len, checksum); + else + print_kv ("Commit", max_key_len, checksum); /* Show any difference between the baseref vs head, but only for the booted commit, and only if there isn't a pending deployment. Otherwise