Commit 2782866f authored by Samuel Giddins's avatar Samuel Giddins

Merge pull request #5487 from CocoaPods/seg-setup-silent

[Setup] Allow running with --silent
parents 5ae4c168 03879a0d
...@@ -18,6 +18,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre` ...@@ -18,6 +18,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[Samuel Giddins](https://github.com/segiddins) [Samuel Giddins](https://github.com/segiddins)
[#5481](https://github.com/CocoaPods/CocoaPods/issues/5481) [#5481](https://github.com/CocoaPods/CocoaPods/issues/5481)
* Running `pod setup --silent` will now properly silence git output while
updating the repository.
[Samuel Giddins](https://github.com/segiddins)
## 1.0.1 (2016-06-02) ## 1.0.1 (2016-06-02)
......
...@@ -59,7 +59,8 @@ module Pod ...@@ -59,7 +59,8 @@ module Pod
# @return [void] # @return [void]
# #
def update_master_repo def update_master_repo
config.sources_manager.update('master', true) show_output = !config.silent?
config.sources_manager.update('master', show_output)
end end
# Sets the repo to the master branch. # Sets the repo to the master branch.
......
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