aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-07-26 20:11:53 -0500
committerJack Nagel2014-07-26 20:11:53 -0500
commit197a12c900bc9c034e71140390727a0c8f7b5579 (patch)
treefe882cf10971f179c42026b58821a9ff9d03dbc8 /Library
parent802775078c2d91f231eb4b0f64685c01d998dee8 (diff)
downloadbrew-197a12c900bc9c034e71140390727a0c8f7b5579.tar.bz2
Switch from backticks to Utils.popen_read
Diffstat (limited to 'Library')
-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)