From 17926f84f778120c8ddd3fd26dce10520d4475d2 Mon Sep 17 00:00:00 2001 From: Rutvik Saptarshi Date: Thu, 14 Sep 2023 11:13:43 -0400 Subject: [PATCH] removed redundant branch in UserAction, updated Changelog --- CHANGELOG.md | 1 + cls/SourceControl/Git/Utils.cls | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e4f77d4..3e0327c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Web UI includes a "Push Branch" button for local branches that are ahead of upstream ### Fixed +- Fixed empty mappings when SourceControl.Git.Settings is instantiated (#250) - Studio export path doesn't get weird mixed slahes on Windows (#252) - Fixed bug with adding mappings through the Settings page (#270) - Pulling add/delete of multiple non-IRIS files no longer causes error (#273) diff --git a/cls/SourceControl/Git/Utils.cls b/cls/SourceControl/Git/Utils.cls index 7df75c0c..885091b9 100644 --- a/cls/SourceControl/Git/Utils.cls +++ b/cls/SourceControl/Git/Utils.cls @@ -233,11 +233,6 @@ ClassMethod UserAction(InternalName As %String, MenuName As %String, ByRef Targe set ec = ..AddToSourceControl(InternalName) } elseif (menuItemName = "RemoveFromSC") { set ec = ..RemoveFromSourceControl(InternalName) - } // is there any reason this code block is repeated? - elseif (menuItemName = "Commit") { - set Target = "Please enter a commit message" - set Action = 7 - quit $$$OK } quit ec }