Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 000dec9

Browse files
Removing the functionality to reset master to track upstream
1 parent 3da6922 commit 000dec9

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

src/GitHub.App/ViewModels/Dialog/ForkRepositoryExecuteViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,14 @@ public bool AddUpstream
125125
set { this.RaiseAndSetIfChanged(ref addUpstream, value); }
126126
}
127127

128-
bool canResetMasterTracking = true;
128+
bool canResetMasterTracking;
129129
public bool CanResetMasterTracking
130130
{
131131
get { return canResetMasterTracking; }
132132
private set { this.RaiseAndSetIfChanged(ref canResetMasterTracking, value); }
133133
}
134134

135-
bool resetMasterTracking = true;
135+
bool resetMasterTracking;
136136
public bool ResetMasterTracking
137137
{
138138
get { return resetMasterTracking; }

src/GitHub.VisualStudio/Views/Dialog/ForkRepositoryExecuteView.xaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,6 @@
6262
</TextBlock>
6363
</DockPanel>
6464
</Border>
65-
<Border Style="{StaticResource ItemBorder}">
66-
<DockPanel>
67-
<CheckBox IsChecked="{Binding ResetMasterTracking}" IsEnabled="{Binding CanResetMasterTracking}" />
68-
<TextBlock TextWrapping="Wrap">
69-
Set the <Run Style="{DynamicResource {x:Static markdig:Styles.CodeStyleKey}}">master</Run> branch to track
70-
<Run Style="{DynamicResource {x:Static markdig:Styles.CodeStyleKey}}">upstream/master</Run>
71-
</TextBlock>
72-
</DockPanel>
73-
</Border>
7465
<Border Style="{StaticResource ItemBorder}">
7566
<StackPanel >
7667
<Button Click="repoForkButton_OnClick">Fork Repo</Button>

0 commit comments

Comments
 (0)