[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63215] [PATCH 1/2] client: Support passing options to git send-emai
From: |
Arun Isaac |
Subject: |
[bug#63215] [PATCH 1/2] client: Support passing options to git send-email. |
Date: |
Sat, 6 May 2023 23:35:19 +0100 |
* mumi/client.scm (git-send-email): Add options optional argument.
---
mumi/client.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/mumi/client.scm b/mumi/client.scm
index b8d588b..2750836 100644
--- a/mumi/client.scm
+++ b/mumi/client.scm
@@ -207,12 +207,13 @@ arguments."
(cut proc port)
(cut close-pipe port))))))
-(define (git-send-email to patches)
- "Send PATCHES using git send-email to the TO address and return the
-message ID of the first email sent."
+(define* (git-send-email to patches #:optional (options '()))
+ "Send PATCHES using git send-email to the TO address with
+OPTIONS. Return the message ID of the first email sent."
(let ((command (cons* "git" "send-email"
(string-append "--to=" to)
- patches)))
+ (append options
+ patches))))
(display (string-join command))
(newline)
(call-with-input-pipe command
--
2.39.2
- [bug#63215] [PATCH v2 mumi 0/2] Cc all issue participants, (continued)
- [bug#63215] [PATCH v2 mumi 0/2] Cc all issue participants, Arun Isaac, 2023/05/01
- [bug#63215] [PATCH v2 mumi 2/2] client: Cc issue participants when sending email., Arun Isaac, 2023/05/01
- [bug#63215] [PATCH mumi 0/2] Cc all issue participants when sending email, Maxim Cournoyer, 2023/05/02
- [bug#63215] [PATCH mumi 0/2] Cc all issue participants when sending email, Arun Isaac, 2023/05/04
- [bug#63215] [PATCH mumi 0/2] Cc all issue participants when sending email, Arun Isaac, 2023/05/05
- [bug#63215] [PATCH mumi 0/2] Cc all issue participants when sending email, Maxim Cournoyer, 2023/05/05
- [bug#63215] [PATCH mumi 0/2] Cc all issue participants when sending email, Arun Isaac, 2023/05/06
- [bug#63215] [PATCH mumi 0/2] Cc all issue participants when sending email, Maxim Cournoyer, 2023/05/06
- bug#63215: [PATCH mumi 0/2] Cc all issue participants when sending email, Arun Isaac, 2023/05/07
[bug#63215] [PATCH v2 mumi 1/2] client: Support passing options to git send-email., Arun Isaac, 2023/05/01
[bug#63215] [PATCH 1/2] client: Support passing options to git send-email.,
Arun Isaac <=