Unverified Commit ce83aaf3 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

git pull --ff-only (#54987)

parent f1d522d5
......@@ -236,7 +236,7 @@ class UpgradeCommandRunner {
/// returns true, otherwise returns false.
Future<bool> attemptFastForward(FlutterVersion oldFlutterVersion) async {
final int code = await processUtils.stream(
<String>['git', 'pull', '--ff'],
<String>['git', 'pull', '--ff-only'],
workingDirectory: workingDirectory,
mapFunction: (String line) => matchesGitLine(line) ? null : line,
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment