-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
This has annoyed me for years and years (since stgit v0.x for sure, I've been using stgit for a decade now), and I finally decided to open a ticket...
stg series has:
Options:
-b, --branch <branch>
Use <branch> instead of current branch
while stg pick has:
-B, --ref-branch <branch>
Pick patches from <branch>
I run into this all the time with something like:
$ stg series -d -b some-branch
+ patch-1 # me, pick me!
> patch-2 # not me...
$ stg pick patch-1 -b some-branch
error: unexpected argument '-b' found
... and then going like "oh, no, I forgot it's -B again."
I didn't look at all the commands, but I think -b is more prevalent. E.g. "stg delete -b ..."
Can we make "stg pick -b branch" do the right thing, please?
Maybe keep -B as backwards compat alias if you're worried about breaking scripts.
Metadata
Metadata
Assignees
Labels
No labels