Skip to content

Commit 3cb5080

Browse files
authored
Merge pull request #506 from intersystems/fix-rebase-remote
Rebasing from remote loads code changed on the remote
2 parents a52ea44 + 80cbea0 commit 3cb5080

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
- Changed prompts in configure from 0/1 to no/yes (#461)
1717
- Added warnings when user is using incompatible git version (#488)
1818
- Fixed the back button navigation between WebUI and Settings page (#361)
19+
- Basic mode Sync operation now imports items changed on the remote merge branch (#506)
1920

2021
## [2.5.0] - 2024-09-24
2122

cls/SourceControl/Git/Utils.cls

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ ClassMethod MergeDefaultRemoteBranch(Output alert As %String = "") As %Boolean
440440
do ..RunGitWithArgs(.errStream, .outStream, "fetch", "origin", defaultMergeBranch_":"_defaultMergeBranch)
441441
do ..PrintStreams(errStream, outStream)
442442

443-
do ..RunGitWithArgs(,.outStream, "rev-parse", defaultMergeBranch)
443+
do ..RunGitWithArgs(,.outStream, "rev-parse", "HEAD")
444444
set startSha = outStream.ReadLine()
445445

446446
// Start a transaction so code changes can be rolled back
@@ -2693,4 +2693,3 @@ ClassMethod BaselineExport(pCommitMessage = "", pPushToRemote = "") As %Status
26932693
}
26942694

26952695
}
2696-

0 commit comments

Comments
 (0)