branch: elpa/magit
commit fd4fb4c9d695cb2c4bf228f5139904aa0188dafb
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    magit-process-password-prompt-regexps: Match double-quotes
---
 lisp/magit-process.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/magit-process.el b/lisp/magit-process.el
index 3eff06f15b0..467311dbc54 100644
--- a/lisp/magit-process.el
+++ b/lisp/magit-process.el
@@ -162,7 +162,7 @@ itself from the hook, to avoid further futile attempts."
     "^\\(Enter \\)?[Pp]assphrase\\( for \\(RSA \\)?key '.*'\\)?: ?$"
     ;; * Password for [user@]host (which we put in match group 99):
     "^\\(Enter \\|([^) ]+) \\)?[Pp]assword\\( for \
-'?\\(https?://\\)?\\(?99:[^']+\\)'?\\)?: ?$"
+[\"']?\\(https?://\\)?\\(?99:[^\"']+\\)[\"']?\\)?: ?$"
     "^\\(?99:[^']+\\)\\('s\\)? password: ?$"
     ;; * Token for git-credential-manager-core (#4318):
     "^Token: $"

Reply via email to