app/status: Use ├─ glyph when printing origin repos
And only use `└─` for the last repo in the list. Before: ``` ... Commit: 106a7095fd46741948ba60dbd0586668ae7abe6336671444ec790d7541a88778 └─ repo-0 (2018-07-23 00:27:05) └─ repo-1 (2018-04-25 04:27:32) ... ``` After: ``` ... Commit: 106a7095fd46741948ba60dbd0586668ae7abe6336671444ec790d7541a88778 ├─ repo-0 (2018-07-23 00:27:05) └─ repo-1 (2018-04-25 04:27:32) ... ``` Closes: #1503 Approved by: cgwalters
This commit is contained in:
parent
4ccad2f64b
commit
fb66070806
@ -393,7 +393,8 @@ print_origin_repos (gboolean host_endian,
|
||||
ts = GUINT64_FROM_BE (ts);
|
||||
g_autofree char *timestamp_string = rpmostree_timestamp_str_from_unix_utc (ts);
|
||||
g_print (" %*s%s %s (%s)\n", maxkeylen + 2, " ",
|
||||
libsd_special_glyph (TREE_RIGHT), id, timestamp_string);
|
||||
libsd_special_glyph (i == (n-1) ? TREE_RIGHT : TREE_BRANCH),
|
||||
id, timestamp_string);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user