refactor(cli): make all searches case-sensitive
This is more predictable, and is safe as a global default in CLI sessions (but not in interactive ones). This indirectly fixes case insensitivity in our commit linter rules.
This commit is contained in:
parent
a3f917c42d
commit
abc16ef68c
3 changed files with 6 additions and 6 deletions
|
@ -182,8 +182,7 @@
|
|||
|
||||
(defun doom-cli--ci-lint-commits (from &optional to)
|
||||
(let ((errors? 0)
|
||||
commits
|
||||
case-fold-search)
|
||||
commits)
|
||||
(with-temp-buffer
|
||||
(insert
|
||||
(cdr (doom-call-process
|
||||
|
@ -201,8 +200,8 @@
|
|||
(point-max))))))
|
||||
commits)))
|
||||
(dolist (commit commits)
|
||||
(let (errors)
|
||||
(with-temp-buffer
|
||||
(with-temp-buffer
|
||||
(let (errors)
|
||||
(save-excursion (insert (cdr commit)))
|
||||
(dolist (rule doom-cli-commit-rules)
|
||||
(save-excursion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue