Skip to content

Commit 0734e10

Browse files
authoredOct 4, 2024
Merge pull request #522 from intersystems/fix-472
fix: actually include branch in status menu item
2 parents f740356 + 7654b3b commit 0734e10

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2525
- Properly handle more cases of truncated filenames from git pull (#511)
2626
- Made git-source-control backwards compatible with IRIS 2021.1 (#513)
2727
- Sync, pull properly handle more change edge cases for import (#517, #496)
28+
- "Status" menu item actually includes branch when IRIS version allows (#472)
2829

2930
## [2.5.0] - 2024-09-24
3031

‎cls/SourceControl/Git/Extension.cls

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Method OnSourceMenuItem(name As %String, ByRef Enabled As %String, ByRef Display
194194

195195
if (name = "Status") {
196196
set DisplayName = ..LocalizeName(name)_" (branch: "_##class(SourceControl.Git.Utils).GetCurrentBranch()_")"
197-
} if (name '= "") {
197+
} elseif (name '= "") {
198198
set DisplayName = ..LocalizeName(name)
199199
}
200200
quit $$$OK

0 commit comments

Comments
 (0)