Skip to content

Commit 6f5cac3

Browse files
committed
Merge branch 'main' into git-version-reminder
2 parents 458d986 + 72663dc commit 6f5cac3

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [2.5.0] - Unreleased
8+
## [2.5.0] - 2024-09-24
99

1010
### Added
1111
- New UI for the basic mode Sync (#415)
@@ -25,6 +25,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2525
- Improved logging in preview and when errors occur via WebSocket commands (#467)
2626
- Fixed pull event handler handling of extremely long class names from diff (#467)
2727
- Fixed Git web UI prompt to update file list when file selected/unselected (#478)
28+
- Fixed folder settings in mappings to be saved and persist (#483)
29+
- Preview on the pull.csp page now shows commits from the correct branch (#490)
2830

2931
## [2.4.1] - 2024-08-02
3032

@@ -173,4 +175,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
173175
- #201: fix behavior with CSP files
174176

175177
## [2.0.1] - 2022-06-02
176-
- Last released version before CHANGELOG existed.
178+
- Last released version before CHANGELOG existed.

cls/_zpkg/isc/sc/git/Socket.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ClassMethod Run()
1616
Write !,"Current branch: ",branchName
1717
Do ##class(SourceControl.Git.Utils).RunGitWithArgs(.errStream, .outStream, "fetch")
1818
Kill errStream, outStream
19-
Do ##class(SourceControl.Git.Utils).RunGitWithArgs(.errStream, .outStream, "log", "HEAD..origin", "--name-status")
19+
Do ##class(SourceControl.Git.Utils).RunGitWithArgs(.errStream, .outStream, "log", "HEAD..origin/"_branchName, "--name-status")
2020
Do ##class(SourceControl.Git.Utils).PrintStreams(errStream, outStream)
2121
If (outStream.Size = 0) && (errStream.Size = 0) {
2222
Write !,"Already up to date."

csp/gitprojectsettings.csp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,13 @@ function toggleNoFolders(e){
665665

666666
$('[id^=noFoldersSwitch]').click(toggleNoFolders);
667667

668+
// Check to persist state of no folder switches
669+
$('.mapping-input-group').children('.voca').each(function(){
670+
var currElement = $(this).children().children(".custom-control").children()[0]
671+
if(!$(currElement).hasClass("active")) {
672+
$(currElement).parent().siblings("#NoFolders")[0].value = "NoFolders";
673+
}
674+
});
668675
</script>
669676
</body>
670677
</html>

module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Document name="git-source-control.ZPM">
44
<Module>
55
<Name>git-source-control</Name>
6-
<Version>2.4.1</Version>
6+
<Version>2.5.0</Version>
77
<Description>Server-side source control extension for use of Git on InterSystems platforms</Description>
88
<Keywords>git source control studio vscode</Keywords>
99
<Packaging>module</Packaging>

0 commit comments

Comments
 (0)