Skip to content

Avoid checking for new releases when authenticating git#3083

Merged
mislav merged 1 commit intotrunkfrom
update-notice-redirect
Mar 4, 2021
Merged

Avoid checking for new releases when authenticating git#3083
mislav merged 1 commit intotrunkfrom
update-notice-redirect

Conversation

@mislav
Copy link
Contributor

@mislav mislav commented Mar 4, 2021

In general, avoid displaying upgrade notice if any output is redirected, not just stderr. This also alleviates the need to specifically check for gh completion -s <shell>, gh __complete, and other scripting scenarios where we absolutely don't want to trigger any upgrade checks or notices.

Fixes #3080

Avoid displaying upgrade notice if any output is redirected. This also
alleviates the need to specifically check for `gh completion -s
<shell>`, `gh __complete`, and other scripting scenarios where we
absolutely don't want to trigger any upgrade checks or notices.
@mislav mislav requested a review from a team March 4, 2021 16:42
@mislav mislav merged commit 6b483aa into trunk Mar 4, 2021
@mislav mislav deleted the update-notice-redirect branch March 4, 2021 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI release message pops up during git push

2 participants