Correct regexps for recommended straight options
When you're being prompted, these regexps control what option is highlighted as the recommended option, and two of them were definitely wrong, and another two *might've* been wrong.
This commit is contained in:
parent
eafad7bbad
commit
10d9ca87e9
1 changed files with 5 additions and 5 deletions
|
@ -223,10 +223,10 @@ BODY will be run when this dispatcher is called."
|
||||||
;;; Straight hacks
|
;;; Straight hacks
|
||||||
|
|
||||||
(defvar doom--cli-straight-discard-options
|
(defvar doom--cli-straight-discard-options
|
||||||
'((" has diverged from branch "
|
'(("has diverged from"
|
||||||
. "^Reset [^ ]+ to branch")
|
. "^Reset [^ ]+ to branch")
|
||||||
("but recipe specifies a URL of"
|
("but recipe specifies a URL of"
|
||||||
. "^Delete remote \"[^\"]+\", re-create it with correct ")
|
. "re-create it with correct URL")
|
||||||
("has a merge conflict:"
|
("has a merge conflict:"
|
||||||
. "^Abort merge$")
|
. "^Abort merge$")
|
||||||
("has a dirty worktree:"
|
("has a dirty worktree:"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue