- Start
cd <flutter-sdk-install-location>
git bisect start
- Ensure you can reproduce the issue at this point. If you can't repro the issue, then find a commit or Flutter release where you can repro the issue.
git bisect bad
git bisect next
-
Enter Y to accept
-
Run the Flutter command that repros the issue. For example:
flutter run
- If you CAN repro the issue
git bisect bad
- If you CAN'T repro the issue
git bisect good
- Repeat steps 4-7 until you get a single commit culprit: e.g.
commit 0a2d8e0ccef65b1325de07873c429c9960abe006 (HEAD, refs/bisect/bad)
Author: Jonah Williams <jonahwilliams@google.com>
Date: Mon Dec 16 18:37:20 2019 -0800
[flutter_tool] Remove direct usage of package:linter in the flutter_tools (#47174)
-
Share this commit with the Flutter team. The Flutter team may expect the commit to be an engine roll commit if the issue is originated from the Flutter engine.
-
Exit bisect
git bisect reset