stgit icon indicating copy to clipboard operation
stgit copied to clipboard

"stg mail --branch" option broken?

Open chucklever opened this issue 3 years ago • 1 comments

I could be doing something wrong, but I noticed this today (stgit 1.5):

[cel@klimt linux]$ stg mail -b for-5.18 -vRFC --git [email protected] remove-config-nfsd-v3
stg mail: Unknown patch name: remove-config-nfsd-v3
[cel@klimt linux]$ stg se -b for-5.18
+ support-for-btime-attribute
+ deduplicate-hash-computation
+ lazy-drc
+ refactor-found-case
+ introduce-sockaddr-field-type
+ tracing-update-print-fmt-check
+ nfsd-trace-sockaddr
+ nfsd-remove-proc-arg-macros
+ svc-create-error-again
+ svc-xprt-endpoint-fields
+ svc-rqst-endpoint-fields
+ remove-svo-enqueue-xprt
+ merge-enqueue-xprt
+ remove-svo-shutdown
+ rename-svc-create-xprt
+ rename-svc-close-xprt
+ remove-svc-shutdown-net
> remove-config-nfsd-v3
[cel@klimt linux]$

chucklever avatar Feb 07 '22 17:02 chucklever

I took a quick look. The -b/--branch option to stg mail seems to be totally ignored. And it seems to have been ignored since --branch was introduced to stg mail in ~2005.

So legit bug. Been there forever.

jpgrayson avatar Feb 07 '22 17:02 jpgrayson

The stg email format and stg email send commands in StGit 2.0 have working --branch options.

jpgrayson avatar Nov 01 '22 18:11 jpgrayson