Skip to content

Commit

Permalink
Replace the call to git-branch in git:close with git_branch
Browse files Browse the repository at this point in the history
  • Loading branch information
cypher committed May 19, 2008
1 parent 2e8fd7f commit ffc5e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git.thor
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Git < Thor
git_checkout("master")
end
puts "* Deleting branch #{branch}"
`git-branch -d #{branch} 2>/dev/null`
git_branch(branch, :delete => true)
if $?.exitstatus == 1
$stderr.puts "* Branch #{branch} isn't a strict subset of master, quitting"
git_checkout(current)
Expand Down

0 comments on commit ffc5e28

Please sign in to comment.