Don't fail when using --diff-filename=- and credentials on the command line.
Review Request #6538 — Created Oct. 30, 2014 and submitted — Latest diff uploaded
When passing a diff in on stdin, we can't also prompt for credentials.
Unfortunately, the check for this was also making it so that it would fail
even in the case where credentails were passed in on the command-line. Moving
the check fixes the problem.
- Smoke tested --diff-filename.
- Ran unit tests.