aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCharlie Sharpsteen2012-12-19 12:42:44 -0800
committerCharlie Sharpsteen2012-12-19 12:42:44 -0800
commit89b5ee6295fbd399e4aabf186354fb29a36d9424 (patch)
treedb52d8b5c08bdc0f9802de34b17199c916812f1f /Library
parent1e51ccb30d0a8bcbbb843d2cff1739cfdc94e38b (diff)
downloadbrew-89b5ee6295fbd399e4aabf186354fb29a36d9424.tar.bz2
brew-pull: Don't pipe diff stats through the pager
Pass the `--no-pager` flag to git when grabbing a diff summary for a patch as there is no good reason to invoke a pager for ~2-10 lines that the user must then exit manually.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmds/brew-pull.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/cmds/brew-pull.rb b/Library/Contributions/cmds/brew-pull.rb
index 8f359dab3..a72461468 100755
--- a/Library/Contributions/cmds/brew-pull.rb
+++ b/Library/Contributions/cmds/brew-pull.rb
@@ -71,7 +71,7 @@ ARGV.named.each do|arg|
end
ohai 'Patch changed:'
- safe_system 'git', 'diff', "#{revision}..", '--stat'
+ safe_system 'git', '--no-pager', 'diff', "#{revision}..", '--stat'
if ARGV.include? '--install'
`git diff #{revision}.. --name-status`.each_line do |line|