Commit 4bee32b8 authored by Fabio Pelosin's avatar Fabio Pelosin

[Git] Included local branches in the in

parent a2a108c4
......@@ -100,7 +100,7 @@ module Pod
end
def branch_exists?(branch)
Dir.chdir(cache_path) { git "branch -r | grep #{branch}$" } # check for remote branch and do suffix matching ($ anchor)
Dir.chdir(cache_path) { git "branch --all | grep #{branch}$" } # check for remote branch and do suffix matching ($ anchor)
$? == 0
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment