[ostree] remote: Print full refspec in "ostree remote refs"



commit a02174b0bafcd43ab060ffdd322b5515369ec779
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Dec 2 14:51:00 2015 -0500

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostree/ot-remote-builtin-refs.c b/src/ostree/ot-remote-builtin-refs.c
index c1730bf..d21b19c 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);
         }
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]