mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
git pull --ff-only (#54987)
This commit is contained in:
parent
f1d522d503
commit
ce83aaf38d
@ -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,
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user