Skip to content

Commit 54fee2d

Browse files
committed
refactor: keep Set as tracking branch unchecked by default (#2730)
Signed-off-by: leo <longshuang@msn.cn>
1 parent c5a1312 commit 54fee2d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/ViewModels/Push.cs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ public Models.Branch SelectedRemoteBranch
6464
IsSetTrackOptionVisible = !string.IsNullOrEmpty(_selectedRemote.URL)
6565
&& value != null
6666
&& (value.Head == null || _selectedLocalBranch.Upstream != value.FullName);
67-
Tracking = true;
6867
}
6968
}
7069
}
@@ -357,7 +356,7 @@ private bool IsPreferredPushRemote(Models.Remote remote)
357356
private List<Models.Branch> _remoteBranches = [];
358357
private Models.Branch _selectedRemoteBranch = null;
359358
private bool _isSetTrackOptionVisible = false;
360-
private bool _tracking = true;
359+
private bool _tracking = false;
361360
private CancellationTokenSource _cancellation = null;
362361
}
363362
}

0 commit comments

Comments
 (0)