diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-08-01 21:34:59 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-08-01 21:34:59 +0200 |
| commit | c52abfd66e863ff34fea13e93f83280e5051d843 (patch) | |
| tree | d8cf027ab954f3a8a9a696a4f22088f6e8c828c5 /lisp/git-commit.el | |
| parent | 102317db1551709dd12a11faa8b2de0afc31309b (diff) | |
magit-completing-read: Support requiring non-empty input
Diffstat (limited to 'lisp/git-commit.el')
| -rw-r--r-- | lisp/git-commit.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/git-commit.el b/lisp/git-commit.el index 6c5975f..140e058 100644 --- a/lisp/git-commit.el +++ b/lisp/git-commit.el @@ -947,7 +947,7 @@ completion candidates. The input must have the form \"NAME <EMAIL>\"." (sort (delete-dups (magit-git-lines "log" "-n9999" "--format=%aN <%ae>")) #'string<) - nil nil nil 'git-commit-read-ident-history))) + nil 'any nil 'git-commit-read-ident-history))) (save-match-data (if (string-match "\\`\\([^<]+\\) *<\\([^>]+\\)>\\'" str) (list (save-match-data (string-trim (match-str 1 str))) |
