From 197a12c900bc9c034e71140390727a0c8f7b5579 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 26 Jul 2014 20:11:53 -0500 Subject: [PATCH] Switch from backticks to Utils.popen_read --- Library/Homebrew/cmd/update.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb index 85cc3014b5..d788bced6f 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)