diff options
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 68649e785..7b3d0062e 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -916,16 +916,6 @@ class Formula "#<Formula #{name} (#{active_spec_sym}) #{path}>" end - # @private - def file_modified? - return false unless Utils.git_available? - - path.parent.cd do - diff = Utils.popen_read("git", "diff", "origin/master", "--", "#{path}") - !diff.empty? && $?.exitstatus == 0 - end - end - # Standard parameters for CMake builds. # Setting CMAKE_FIND_FRAMEWORK to "LAST" tells CMake to search for our # libraries before trying to utilize Frameworks, many of which will be from |
