Skip to content

use the same ref to check branch existance and merge-base calculation#601

Merged
cpanato merged 1 commit intohelm:mainfrom
jouve:branch-exists
Oct 27, 2023
Merged

use the same ref to check branch existance and merge-base calculation#601
cpanato merged 1 commit intohelm:mainfrom
jouve:branch-exists

Conversation

@jouve
Copy link
Contributor

@jouve jouve commented Oct 3, 2023

What this PR does / why we need it:

#511 added the BranchExists check, but it used the value of --target-branch while MergeBase used the compound value of --remote/--target-branch

this PR changes BranchExists to use the same value as MergeBase.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #577 #580

Special notes for your reviewer:

Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] targetBranch needs remote

3 participants