It only needs to match ssh(1)'s "Are you sure you want to continue connecting (yes/no)?" prompt for the time being, but it doesn't hurt to make it a bit more receptive.
Signed-off-by: Pieter Praet <pie...@praet.org> --- magit.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/magit.el b/magit.el index 40d377f..23a63d4 100644 --- a/magit.el +++ b/magit.el @@ -340,7 +340,8 @@ (defcustom magit-process-yes-or-no-prompt-regexp "[/|]" ;; Slash or pipe. "\\([Nn]o?\\)" ;; Upper/lower-case "n", maybe followed by an "o". "[\])]" ;; Closing square bracket or paren. - "\\? ?" ;; Question mark, maybe followed by a trailing space. + " ?" ;; Maybe a space. + "[?:] ?" ;; Question mark or colon, maybe followed by a trailing space. "$" ;; @ EOL... ) "Regexp matching Yes-or-No prompts of git and its subprocesses." -- 1.7.11.1 -- --- You received this message because you are subscribed to the Google Groups "magit" group. To unsubscribe from this group and stop receiving emails from it, send an email to magit+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.