Permalink
Browse files

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

  • Loading branch information...
1 parent 5981f95 commit 2288a75a64d76d9916a2fc7d4c3b97f7e4e429d8 @benhoskings committed Mar 2, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 deps/babushka.rb
View
@@ -58,7 +58,9 @@ def resolved_ref
false # Always fetch before resolving a remote ref.
else
resolved_ref.tap {|result|
- if result
+ if result == qualified_ref
+ log_ok "#{result} is already resolved."
+ elsif result
log_ok "#{ref} resolves to #{result}."
else
log "#{ref} doesn't resolve to a ref."

0 comments on commit 2288a75

Please sign in to comment.