Skip to content

Commit 0a39308

Browse files
author
Lluís Vilanova
committed
magit-stgit-new: Let user provide explicit patch name
1 parent 91f9e14 commit 0a39308

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

magit-stgit.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@ Else, asks the user for a patch name."
286286
'magit-popups
287287
:switches '((?a "Add \"Acked-by:\" line" "--ack")
288288
(?s "Add \"Signed-off-by:\" line" "--sign"))
289+
:options '((?n "Set patch name" ""
290+
(lambda (prompt default) (read-from-minibuffer "Patch name: " default))))
289291
:actions '((?N "New" magit-stgit-new))
290292
:default-action #'magit-stgit-new)
291293

0 commit comments

Comments
 (0)