diff --git a/TRANSLATION.md b/TRANSLATION.md
index 7ae5b13f..b4194fd9 100644
--- a/TRANSLATION.md
+++ b/TRANSLATION.md
@@ -6,7 +6,7 @@ This document shows the translation status of each locale file in the repository
### 
-### 
+### 
Missing keys in de_DE.axaml
@@ -31,10 +31,11 @@ This document shows the translation status of each locale file in the repository
- Text.WorkingCopy.Conflicts.OpenExternalMergeToolAllConflicts
- Text.WorkingCopy.Conflicts.UseMine
- Text.WorkingCopy.Conflicts.UseTheirs
+- Text.Preferences.General.OpenReposInNewTab
-### 
+### 
Missing keys in es_ES.axaml
@@ -49,10 +50,11 @@ This document shows the translation status of each locale file in the repository
- Text.WorkingCopy.Conflicts.OpenExternalMergeToolAllConflicts
- Text.WorkingCopy.Conflicts.UseMine
- Text.WorkingCopy.Conflicts.UseTheirs
+- Text.Preferences.General.OpenReposInNewTab
-### 
+### 
Missing keys in fr_FR.axaml
@@ -67,10 +69,11 @@ This document shows the translation status of each locale file in the repository
- Text.WorkingCopy.Conflicts.OpenExternalMergeToolAllConflicts
- Text.WorkingCopy.Conflicts.UseMine
- Text.WorkingCopy.Conflicts.UseTheirs
+- Text.Preferences.General.OpenReposInNewTab
-### 
+### 
Missing keys in it_IT.axaml
@@ -87,10 +90,11 @@ This document shows the translation status of each locale file in the repository
- Text.WorkingCopy.Conflicts.OpenExternalMergeToolAllConflicts
- Text.WorkingCopy.Conflicts.UseMine
- Text.WorkingCopy.Conflicts.UseTheirs
+- Text.Preferences.General.OpenReposInNewTab
-### 
+### 
Missing keys in ja_JP.axaml
@@ -107,10 +111,11 @@ This document shows the translation status of each locale file in the repository
- Text.WorkingCopy.Conflicts.OpenExternalMergeToolAllConflicts
- Text.WorkingCopy.Conflicts.UseMine
- Text.WorkingCopy.Conflicts.UseTheirs
+- Text.Preferences.General.OpenReposInNewTab
-### 
+### 
Missing keys in pt_BR.axaml
@@ -192,12 +197,20 @@ This document shows the translation status of each locale file in the repository
- Text.WorkingCopy.Conflicts.UseMine
- Text.WorkingCopy.Conflicts.UseTheirs
- Text.WorkingCopy.SignOff
+- Text.Preferences.General.OpenReposInNewTab
-### 
+### 
-### 
+
+Missing keys in ru_RU.axaml
+
+- Text.Preferences.General.OpenReposInNewTab
+
+
+
+### 
Missing keys in ta_IN.axaml
@@ -212,9 +225,24 @@ This document shows the translation status of each locale file in the repository
- Text.WorkingCopy.Conflicts.OpenExternalMergeToolAllConflicts
- Text.WorkingCopy.Conflicts.UseMine
- Text.WorkingCopy.Conflicts.UseTheirs
+- Text.Preferences.General.OpenReposInNewTab
-### 
+### 
-### 
\ No newline at end of file
+
+Missing keys in zh_CN.axaml
+
+- Text.Preferences.General.OpenReposInNewTab
+
+
+
+### 
+
+
+Missing keys in zh_TW.axaml
+
+- Text.Preferences.General.OpenReposInNewTab
+
+
\ No newline at end of file
diff --git a/src/ViewModels/Repository.cs b/src/ViewModels/Repository.cs
index 9b720c7b..97d47a77 100644
--- a/src/ViewModels/Repository.cs
+++ b/src/ViewModels/Repository.cs
@@ -162,7 +162,15 @@ namespace SourceGit.ViewModels
public Models.Branch CurrentBranch
{
get => _currentBranch;
- private set => SetProperty(ref _currentBranch, value);
+ private set
+ {
+ var oldHead = _currentBranch?.Head;
+ if (SetProperty(ref _currentBranch, value))
+ {
+ if (oldHead != _currentBranch.Head && _workingCopy is { UseAmend: true })
+ _workingCopy.UseAmend = false;
+ }
+ }
}
public List LocalBranchTrees
diff --git a/src/ViewModels/WorkingCopy.cs b/src/ViewModels/WorkingCopy.cs
index 802c6c5d..3d7b9a28 100644
--- a/src/ViewModels/WorkingCopy.cs
+++ b/src/ViewModels/WorkingCopy.cs
@@ -94,6 +94,7 @@ namespace SourceGit.ViewModels
}
Staged = GetStagedChanges();
+ VisibleStaged = GetVisibleChanges(_staged);
SelectedStaged = [];
}
}