mxcl/homebrew — pull request #21316 by acoffman (2013-07-18 20:19:36+00:00)
Title: Move outdated.empty? check outside conditional branch

This check was only occurring in one branch of the conditional.
As a result, if you ran `brew upgrade` with no args and there were no packages to upgrade,the nonsensical message

"==> Upgrading 0 outdated package, with result:"

would be printed.