diff options
| author | Charlie Sharpsteen | 2012-12-19 12:42:44 -0800 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-12-19 12:42:44 -0800 |
| commit | 1d34e0d740f1cb8f751aca42129288cf31d3d6c5 (patch) | |
| tree | 84953a8756ae63620c83130aa9cdba979510ec1b /Library | |
| parent | cbe663efbd7cc253e81bfc6b7344af0adf7c57a6 (diff) | |
| download | homebrew-1d34e0d740f1cb8f751aca42129288cf31d3d6c5.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-x | Library/Contributions/cmds/brew-pull.rb | 2 |
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| |
