aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2014-07-26 20:11:53 -0500
committerJack Nagel2014-07-26 20:11:53 -0500
commit3aa313a38d2e83da9d15765576ed7edc05ce6e14 (patch)
treeac7979032b498e61e57c795e25d4dc2cf28a9be9 /Library/Homebrew/cmd
parent8a0fd581463d8261e51f8b9175dbb537d3ad2dc4 (diff)
downloadhomebrew-3aa313a38d2e83da9d15765576ed7edc05ce6e14.tar.bz2
Switch from backticks to Utils.popen_read
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/update.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb
index 85cc3014b..d788bced6 100644
--- a/Library/Homebrew/cmd/update.rb
+++ b/Library/Homebrew/cmd/update.rb
@@ -188,7 +188,7 @@ class Updater
end
def diff
- `git diff-tree -r --name-status --diff-filter=AMD #{initial_revision} #{current_revision}`
+ Utils.popen_read("git", "diff-tree", "-r", "--name-status", "--diff-filter=AMD", initial_revision, current_revision)
end
def `(cmd)