fix(pull-create): correct assignment of base and target branches #145

Merged
Aviac merged 1 commit from augustebaum/codeberg-cli:fix-pull-create-command into main 2024-11-12 12:43:59 +01:00
Contributor

This fixes an issue where the meaning of berg pull create arguments --target-branch and --source-branch is reversed:

berg pull create --target-branch trunk --source-branch feature-branch

results in a pull request being opened from trunk, to feature-branch.

This fixes an issue where the meaning of `berg pull create` arguments `--target-branch` and `--source-branch` is reversed: ```sh berg pull create --target-branch trunk --source-branch feature-branch ``` results in a pull request being opened *from* `trunk`, *to* `feature-branch`.
augustebaum force-pushed fix-pull-create-command from bc990a0e62 to a85d99c944 2024-11-12 10:08:40 +01:00 Compare
Aviac approved these changes 2024-11-12 12:34:25 +01:00
Owner

Thanks! Nice, catch 💯

Thanks! Nice, catch 💯
Aviac merged commit bbb8b1dfcf into main 2024-11-12 12:43:59 +01:00
Sign in to join this conversation.
No description provided.