Permalink
Browse files

Making sure we don't update undefined values, removing unnecessary Gi…

…thub API call
  • Loading branch information...
1 parent f845b5d commit 82c2e1576765699cb2ea2ed01eb1ac7588ea88bc @winton committed Mar 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/gitcycle.rb
View
@@ -550,7 +550,7 @@ def checkout_remote_branch(options={})
if branches(:match => target)
if yes?("You already have a branch called '#{target}'. Overwrite?")
- run("git push origin :#{target}")
+ run("git push origin :#{target} -q")
run("git checkout master -q")
run("git branch -D #{target}")
else
@@ -574,7 +574,7 @@ def checkout_remote_branch(options={})
end
puts "Pushing 'origin/#{target}'.\n".green
- run("git push origin #{target}")
+ run("git push origin #{target} -q")
end
def collab?(branch)

0 comments on commit 82c2e15

Please sign in to comment.