Enable progress when updating git repo

parent 9d078b8b
...@@ -104,7 +104,7 @@ module Pod ...@@ -104,7 +104,7 @@ module Pod
def update_git_repo(show_output = false) def update_git_repo(show_output = false)
Config.instance.with_changes(:verbose => show_output) do Config.instance.with_changes(:verbose => show_output) do
git!(%W(-C #{repo} fetch origin)) git!(%W(-C #{repo} fetch origin --progress))
current_branch = git!(%W(-C #{repo} rev-parse --abbrev-ref HEAD)).strip current_branch = git!(%W(-C #{repo} rev-parse --abbrev-ref HEAD)).strip
git!(%W(-C #{repo} reset --hard origin/#{current_branch})) git!(%W(-C #{repo} reset --hard origin/#{current_branch}))
end 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