The temporary branch is created from the working base branch. So the differences between the two branches will always be none. What we want is all the differences from temporary branch to the base branch.
This commit is contained in:
parent
1847e5d1d6
commit
7d24e3c0c4
7792
dist/index.js
vendored
7792
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
@ -195,7 +195,7 @@ export async function createOrUpdateBranch(
|
||||
await git.checkout(base)
|
||||
// Cherrypick commits from the temporary branch starting from the working base
|
||||
const commits = await git.revList(
|
||||
[`${workingBase}..${tempBranch}`, '.'],
|
||||
[`${base}..${tempBranch}`, '.'],
|
||||
['--reverse']
|
||||
)
|
||||
for (const commit of splitLines(commits)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user