From a02174b0bafcd43ab060ffdd322b5515369ec779 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 2 Dec 2015 14:51:00 -0500 Subject: [PATCH] remote: Print full refspec in "ostree remote refs" Just to make copy-and-paste a little easier, as I often use this command immediately before rebasing. e.g. # ostree remote refs fedora-atomic fedora-atomic:fedora-atomic/f23/x86_64/docker-host fedora-atomic:fedora-atomic/f23/x86_64/testing/docker-host ^^^^^^^^^^^^^^ (this part is new) # rpm-ostree rebase fedora-atomic:fedora-atomic/f23/x86_64/testing/docker-host --- src/ostree/ot-remote-builtin-refs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ostree/ot-remote-builtin-refs.c b/src/ostree/ot-remote-builtin-refs.c index c1730bfa..d21b19cc 100644 --- a/src/ostree/ot-remote-builtin-refs.c +++ b/src/ostree/ot-remote-builtin-refs.c @@ -63,7 +63,7 @@ ot_remote_builtin_refs (int argc, char **argv, GCancellable *cancellable, GError for (iter = ordered_keys; iter; iter = iter->next) { - g_print ("%s\n", (const char *) iter->data); + g_print ("%s:%s\n", remote_name, (const char *) iter->data); } }