aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_versions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_versions.rb b/Library/Homebrew/formula_versions.rb
index 61192dd65..8f8f644ff 100644
--- a/Library/Homebrew/formula_versions.rb
+++ b/Library/Homebrew/formula_versions.rb
@@ -47,7 +47,7 @@ class FormulaVersions
end
def file_contents_at_revision(rev)
- repository.cd { `git cat-file blob #{rev}:#{entry_name}` }
+ repository.cd { Utils.popen_read("git", "cat-file", "blob", "#{rev}:#{entry_name}") }
end
def version_at_revision(rev)