Skip to content
This repository
Browse code

Add a cosmetic message for when the install ref is already resolved.

  • Loading branch information...
commit 2288a75a64d76d9916a2fc7d4c3b97f7e4e429d8 1 parent 5981f95
Ben Hoskings authored March 02, 2013

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  deps/babushka.rb
4  deps/babushka.rb
@@ -58,7 +58,9 @@ def resolved_ref
58 58
       false # Always fetch before resolving a remote ref.
59 59
     else
60 60
       resolved_ref.tap {|result|
61  
-        if result
  61
+        if result == qualified_ref
  62
+          log_ok "#{result} is already resolved."
  63
+        elsif result
62 64
           log_ok "#{ref} resolves to #{result}."
63 65
         else
64 66
           log "#{ref} doesn't resolve to a ref."

0 notes on commit 2288a75

Please sign in to comment.
Something went wrong with that request. Please try again.