diff options
Diffstat (limited to 'lisp/km-magit.el')
-rw-r--r-- | lisp/km-magit.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/km-magit.el b/lisp/km-magit.el index ced8bed..de39bc9 100644 --- a/lisp/km-magit.el +++ b/lisp/km-magit.el @@ -897,7 +897,7 @@ appending [M/N] to each entry." (apply #'magit-run-git "format-patch" upstream (concat "--base=" upstream) args) (let* ((patches (or (seq-filter - (lambda (f) (string-match-p "\\.patch\\'" f)) + (lambda (f) (string-suffix-p ".patch" f)) (magit-untracked-files)) (error "There should be patches"))) (cover (seq-find |