Pass upstream branch to git cl format --dry-run (if set).
Pass upstream branch to git cl format --dry-run (if set).

When PRESUBMIT is run with a custom --upstream, dry run cl format should
also use this value, otherwise format warnings would be inconsistent.

Change-Id: I1370f614618ecc03706e54cd4b151a207d9b3bae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3688631
Auto-Submit: Aleksey Khoroshilov <89a6f12850f9e9ae39acd01b689e86e4cf61d50f@brave.com>
Reviewed-by: Josip Sokcevic <4606aec58cba917397ff2e4738f995e4758694f8@google.com>
Commit-Queue: Josip Sokcevic <4606aec58cba917397ff2e4738f995e4758694f8@google.com>

CoherentLabs/depot_tools,CoherentLabs/depot_tools