You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'(-n --numbered -N --no-numbered -k --keep-subject)'{-N,--no-numbered}'[name output in \[PATCH\] format]'
364
+
'--start-number=[start numbering patches at given number]: :_numbers -l 1 "patch number"'
365
+
'--numbered-files[use only number for file name]'
366
+
'(-n --numbered -N --no-numbered -k --keep-subject --rfc --subject-prefix)'{-k,--keep-subject}"[don't strip/add \[PATCH\] from the first line of the commit message]"
367
+
'(-s --signoff)'{-s,--signoff}'[add Signed-off-by: trailer to the commit message]'
368
+
'( --inline)--attach[create attachments instead of inlining patches]'
369
+
'(--attach )--inline[inline patches]'
370
+
'(--thread )--no-thread[do not thread messages]'
371
+
'( --no-thread)--thread=-[make the second and subsequent mails refer to the first]::style:((shallow\:"all refer to the first"
372
+
deep\:"each refers to the previous"))'
373
+
'--in-reply-to=[make the first mail a reply to the given message]:message id'
374
+
'(-v --reroll-count)'{-v+,--reroll-count=}'[mark the series as the <n>-th iteration of the topic]: :_numbers iteration'
375
+
'(-k --keep-subject --subject-prefix)--rfc[use \[RFC PATCH\] instead of \[PATCH\]]'
376
+
'(-k --keep-subject --rfc)--subject-prefix=[use the given prefix instead of \[PATCH\]]:prefix'
377
+
'(--no-to)*--to=[add To: header to email headers]: :_email_addresses'
378
+
'--no-to[discard all To: headers added so far]'
379
+
'(--no-cc)*--cc=[add Cc: header to email headers]: :_email_addresses'
380
+
'--no-cc[discard all Cc: headers added so far]'
381
+
'*--add-header=[add an arbitrary header to email headers]:header' \
382
+
'--cover-letter[generate a cover letter]'
383
+
'( --no-signature --signature-file)--signature=[add a signature]:signature'
384
+
'(--signature --signature-file)--no-signature[do not add a signature]'
385
+
'(--signature --no-signature )--signature-file=[use contents of file as signature]: :_files'
386
+
'--base=[add prerequisite tree info to the patch series]:prereq commit:__stg_revisions'
387
+
'--suffix=[use the given suffix for filenames]:filename suffix'
388
+
'(-q --quiet)'{-q,--quiet}'[suppress the output of the names of generated files]'
389
+
'--no-binary[do not output contents of changes in binary files, only note that they differ]'
390
+
'--zero-commit[output all-zero hash in From header]'
391
+
'--progress[show progress while generating patches]'
392
+
'--interdiff=[insert interdiff against previous patch series in cover letter or single patch]:reference to tip of previous series:__stg_revisions'
393
+
'--range-diff=[insert range-diff against previous patch series in cover letter or single patch]:reference to tip of previous series:__stg_revisions'
394
+
'--creation-factor=[for range-diff, specify weighting for creation]:weighting (percent)'
395
+
+ '(sources)'
396
+
'(-a --all)'{-a,--all}'[format all applied patches]: :_files'
397
+
': :->patch-or-patch-range'
398
+
)
399
+
_arguments -s -S $subcmd_args&& ret=0
400
+
401
+
case$statein
402
+
(patch-or-patch-range)
403
+
__stg_patchrange --suggest-range && ret=0
404
+
;;
405
+
esac
406
+
407
+
return ret
408
+
}
409
+
410
+
_stg-email-send() {
411
+
local -a subcmd_args
412
+
__stg_add_args_help
413
+
__stg_add_args_color
414
+
subcmd_args+=(
415
+
'(-a --all)'{-a,--all}'[send all applied patches]: :_files'
0 commit comments