Skip to content

Commit 0d4334b

Browse files
committed
Update changelog, fix updating remote
Added changelog entry Check censored remote against censored remote to see if the settings entry has been changed
1 parent a80b505 commit 0d4334b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111
- Added 'git push --force' in expert mode (#527)
12+
- Add remote repository to settings page (#448)
1213

1314
## [2.6.0] - 2024-10-07
1415

csp/gitprojectsettings.csp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ body {
9797
}
9898

9999
set newRemote = $Get(%request.Data("remoteRepo",1))
100-
if (newRemote '= ##class(SourceControl.Git.Utils).GetConfiguredRemote()) {
100+
// If entry was modified, set new remote repo
101+
if (newRemote '= ##class(SourceControl.Git.Utils).GetCensoredRemote()) {
101102
do ##class(SourceControl.Git.Utils).SetConfiguredRemote(newRemote)
102103
}
103104

0 commit comments

Comments
 (0)