Commit dc6d67a3 authored by Luis Ascorbe's avatar Luis Ascorbe Committed by Samuel E. Giddins

Use the same method to invoke git as get_branch_remote_name

parent a4affd62
...@@ -256,7 +256,7 @@ module Pod ...@@ -256,7 +256,7 @@ module Pod
# Returns the branch name (i.e. master) # Returns the branch name (i.e. master)
# #
def get_branch_name def get_branch_name
git!("name-rev --name-only HEAD").strip `git name-rev --name-only HEAD`.strip
end end
# Returns the branch remote name (i.e. origin) # Returns the branch remote name (i.e. origin)
......
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