Skip to content

the channel command prints irrelevant git output #128025

@mit-mit

Description

@mit-mit

When changing channel with flutter channel, the command prints a bunch of scary looking output from git, with a red font that looks "errorish":

Switching to flutter channel 'stable'...
git: From https://github.com/flutter/flutter
git:  + 0df8557c56...350d2c3a6c beta                    -> origin/beta  (forced update)
git:  * [new branch]            b123315                 -> origin/b123315
git:  * [new branch]            dependabot/github_actions/codecov/codecov-action-3.1.4 -> origin/dependabot/github_actions/codecov/codecov-action-3.1.4
git:  * [new branch]            dependabot/github_actions/google/mirror-branch-action-2.0 -> origin/dependabot/github_actions/google/mirror-branch-action-2.0
git:  * [new branch]            fix_devtools_start_paused -> origin/fix_devtools_start_paused
git:    7be6b570a7..c48ceda6b5  flutter-3.10-candidate.1 -> origin/flutter-3.10-candidate.1
git:  * [new branch]            flutter-3.10-candidate.10 -> origin/flutter-3.10-candidate.10
git:  * [new branch]            flutter-3.10-candidate.11 -> origin/flutter-3.10-candidate.11
git:  * [new branch]            flutter-3.10-candidate.12 -> origin/flutter-3.10-candidate.12
git:  * [new branch]            flutter-3.10-candidate.13 -> origin/flutter-3.10-candidate.13
git:  * [new branch]            flutter-3.10-candidate.14 -> origin/flutter-3.10-candidate.14
git:  * [new branch]            flutter-3.10-candidate.15 -> origin/flutter-3.10-candidate.15
git:  * [new branch]            flutter-3.10-candidate.16 -> origin/flutter-3.10-candidate.16
git:  * [new branch]            flutter-3.10-candidate.17 -> origin/flutter-3.10-candidate.17
git:  * [new branch]            flutter-3.10-candidate.18 -> origin/flutter-3.10-candidate.18
git:  * [new branch]            flutter-3.10-candidate.2 -> origin/flutter-3.10-candidate.2
git:  * [new branch]            flutter-3.10-candidate.3 -> origin/flutter-3.10-candidate.3

Isn't this an implementation detail with zero relevance for the developer, and thus something we should hide?

Metadata

Metadata

Labels

P2Important issues not at the top of the work lista: qualityA truly polished experiencefound in release: 3.10Found to occur in 3.10found in release: 3.11Found to occur in 3.11has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions