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
This commit is contained in:
Matthew Barnes 2015-12-02 14:51:00 -05:00
parent 581b7d6183
commit a02174b0ba

View File

@ -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);
}
}