You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: verify if targetBranch is present in git repo (#511)
* feat: verify if targetBranch is present in git repo
If a targetBranch is not present in the git repository the `ct list-changed` command will fail.
The error message for this is not really meaningful.
This commit will validate if the branch exists and throw a error message which the user will understand.
closes#330
Signed-off-by: Marco Lecheler <[email protected]>
* chore(test): mocking test for chart.BranchExists()
Signed-off-by: Marco Lecheler <[email protected]>
* fix(lint): use fmt.Errorf for error msg
Signed-off-by: Marco Lecheler <[email protected]>
---------
Signed-off-by: Marco Lecheler <[email protected]>
0 commit comments