enhance: disable pull/stash/apply/git-flow/git-lfs buttons in bare repository

This commit is contained in:
leo 2025-01-13 20:41:03 +08:00
parent b9b5220590
commit a112d212dc
No known key found for this signature in database
3 changed files with 12 additions and 6 deletions

View file

@ -70,7 +70,7 @@
Text="{DynamicResource Text.CreateBranch.LocalChanges}"
IsVisible="{Binding !IsBareRepository}"/>
<Border Grid.Row="2" Grid.Column="1" MinHeight="32" IsVisible="{Binding !IsBareRepository}">
<WrapPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center">
<WrapPanel Orientation="Horizontal" VerticalAlignment="Center">
<RadioButton Content="{DynamicResource Text.CreateBranch.LocalChanges.DoNothing}"
x:Name="RadioDoNothing"
GroupName="LocalChanges"