Description
If using the --source-branch or --target-branch options and the specified branch does not exist, the error message is vague and does not explain what is wrong.
Steps to reproduce
codefox scan --source-branch my-branch --target-branch main where the real branch should have been spelled my_branch and not my-branch.
Expected behavior
An error tells me that the requested source/target branch does not exist.
Actual behavior
Repository is not found or not have change
Environment
- OS: Ubuntu 22.04
- Python version: 3.11
- CodeFox version: 0.4.6
- Provider: N/A
- Model: N/A
Config (optional)
N/A
Additional context
None.
Description
If using the
--source-branchor--target-branchoptions and the specified branch does not exist, the error message is vague and does not explain what is wrong.Steps to reproduce
codefox scan --source-branch my-branch --target-branch mainwhere the real branch should have been spelledmy_branchand notmy-branch.Expected behavior
An error tells me that the requested source/target branch does not exist.
Actual behavior
Repository is not found or not have changeEnvironment
Config (optional)
N/A
Additional context
None.