diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-05-13 00:40:45 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-05-13 00:40:45 -0400 |
commit | 1b302aad8d6b835750e854c2e88f71489d3eca63 (patch) | |
tree | e3828de568fb0818e36c56eac470222207f6a414 | |
parent | 50bb0778bb1ea88e18eb11a1520c257b30c08ee0 (diff) | |
download | piem-1b302aad8d6b835750e854c2e88f71489d3eca63.tar.gz |
b4: Add --cherry-pick to am transient
This option was added in b4 v0.4.1.
-rw-r--r-- | piem-b4.el | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -298,6 +298,13 @@ in `piem-b4-default-branch-function'." :argument "--use-version=" :reader #'transient-read-number-N+) +(define-infix-argument piem-b4-am:--cherry-pick () + :description "Select a subset of patches by number" + :class 'transient-option + :shortarg "-P" + :argument "--cherry-pick=" + :reader #'read-string) + ;;;###autoload (autoload 'piem-b4-am "b4" nil t) (define-transient-command piem-b4-am () "Filter mbox to patches and feed to git-am" @@ -308,7 +315,8 @@ in `piem-b4-default-branch-function'." ("-S" "Apply trailers without checking email addresses" "--sloppy-trailers") ("-t" "Apply cover letter trailers" "--apply-cover-trailers") ("-T" "Do not add trailers" "--no-add-trailers") - (piem-b4-am:--use-version)] + (piem-b4-am:--use-version) + (piem-b4-am:--cherry-pick)] ["Options for creating am-ready mboxes" (piem-b4-am:--outdir) (piem-b4-am:--mbox-name)] |