diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/update.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb index 7eac0b389..e477bc7dc 100644 --- a/Library/Homebrew/cmd/update.rb +++ b/Library/Homebrew/cmd/update.rb @@ -86,7 +86,7 @@ class RefreshBrew end def git_repo? - File.directory? '.git' + Dir['.git/*'].count > 0 end def pending_formulae_changes? |
