diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e18ddb..d28ac7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Properly handle more cases of truncated filenames from git pull (#511) - Made git-source-control backwards compatible with IRIS 2021.1 (#513) - Sync, pull properly handle more change edge cases for import (#517, #496) +- "Status" menu item actually includes branch when IRIS version allows (#472) ## [2.5.0] - 2024-09-24 diff --git a/cls/SourceControl/Git/Extension.cls b/cls/SourceControl/Git/Extension.cls index af7addd..38ef5c0 100644 --- a/cls/SourceControl/Git/Extension.cls +++ b/cls/SourceControl/Git/Extension.cls @@ -194,7 +194,7 @@ Method OnSourceMenuItem(name As %String, ByRef Enabled As %String, ByRef Display if (name = "Status") { set DisplayName = ..LocalizeName(name)_" (branch: "_##class(SourceControl.Git.Utils).GetCurrentBranch()_")" - } if (name '= "") { + } elseif (name '= "") { set DisplayName = ..LocalizeName(name) } quit $$$OK