Repository navigation
the channel command prints irrelevant git output #128025
Copy link
Copy link
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: qualityA truly polished experienceA truly polished experiencefound in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.11Found to occur in 3.11Found to occur in 3.11has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: qualityA truly polished experienceA truly polished experiencefound in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.11Found to occur in 3.11Found to occur in 3.11has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Activity
huycozy commentedon Jun 1, 2023
I also see
red fontwhen switching frombetatostableormastertostablefor eg:flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.0.1 22A400 darwin-x64, locale en-VN) • Flutter version 3.10.2 on channel stable at /Users/huynq/Documents/GitHub/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 9cd3d0d9ff (22 hours ago), 2023-05-23 20:57:28 -0700 • Engine revision 90fa3ae28f • Dart version 3.0.2 • DevTools version 2.23.1 [✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0) • Android SDK at /Users/huynq/Library/Android/sdk • Platform android-33, build-tools 32.0.0 • ANDROID_HOME = /Users/huynq/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14E222b • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) [✓] VS Code (version 1.78.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.64.0 [✓] Connected device (3 available) • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64 • Android 11 (API 30) • macOS (desktop) • macos • darwin-x64 • macOS 13.0.1 22A400 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 113.0.5672.126 [✓] Network resources • All expected network resources are available. • No issues found![flutter_tools] Suppress git output in flutter channel (#128475)
github-actions commentedon Jun 28, 2023
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.