-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
team-infraOwned by Infrastructure teamOwned by Infrastructure team
Description
Steps to reproduce
I have a GitHub action for cloning Flutter to run tests. The test run on various different branches but to save time/space only the branch being tested is cloned (the other branches run in different jobs) using --single-branch.
This used to work fine, but recently has stopped working because Flutter assumes it can access origin/master.
To repro:
- Run
git clone --single-branch --branch beta https://github.com/flutter/flutterto clone the beta branch without all others - Run
./flutter_beta/bin/flutter doctor
Expected results
flutter doctor should run successfully.
Actual results
PS D:\Temp> ./flutter_beta/bin/flutter doctor
fatal: Not a valid object name origin/master
Error: Unable to determine engine version...
Code sample
N/A
Screenshots or Video
Logs
Logs
Unable to get any verbose logs:
PS D:\Temp> ./flutter_beta/bin/flutter doctor -v
fatal: Not a valid object name origin/master
Error: Unable to determine engine version...Flutter Doctor output
Doctor output
Unable to run:
PS D:\Temp> ./flutter_beta/bin/flutter doctor -v
fatal: Not a valid object name origin/master
Error: Unable to determine engine version...nank1ro, dt-iohk, mi-laf, michelcouto, gusche and 5 more
Metadata
Metadata
Assignees
Labels
team-infraOwned by Infrastructure teamOwned by Infrastructure team
