Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make some git invocations quiet #883

Merged
merged 3 commits into from
Sep 26, 2024
Merged

Make some git invocations quiet #883

merged 3 commits into from
Sep 26, 2024

Conversation

ZhongRuoyu
Copy link
Member

Currently, all the branches and tags are printed out by git fetch, which I believe our end users are not concerned about.

This change suppresses some of the Git outputs with the --quiet option, so no branches or tags are printed out. As the progress bar can still be useful, --progress is used to keep it enabled.

Currently, all the branches and tags are printed out by `git fetch`,
which I believe our end users are not concerned about.

This change suppresses some of the Git outputs with the `--quiet`
option, so no branches or tags are printed out. As the progress bar can
still be useful, `--progress` is used to keep it enabled.
@ZhongRuoyu
Copy link
Member Author

ZhongRuoyu commented Sep 26, 2024

For comparison, see old versus new (progress bar is hidden in non-interactive CI, but it's shown on TTY).

Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks @ZhongRuoyu!

@MikeMcQuaid MikeMcQuaid merged commit 8fc35fd into master Sep 26, 2024
3 checks passed
@MikeMcQuaid MikeMcQuaid deleted the quiet-git branch September 26, 2024 11:26
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.

3 participants