mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-14 09:16:16 -04:00
Noticed there was a change recently that broke the ability to pass in an input branch to gcp.
This change is the following:
Fix faulty logic that just led to a git checkout -b being called when you pass in an argument to gcp
If an argument was passed in, check if it is a valid branch, if so, set the input_branch var
If input_branch is set, use it to do the cherry pick, as opposed to the first FZF selection.
|
||
|---|---|---|
| .. | ||
| git-forgit | ||