diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-02-02 01:07:34 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-02-02 01:07:34 +0100 |
| commit | c12edf22449a22b364ce316e8fab93be7f573c77 (patch) | |
| tree | 1b06e8379b8ef9be3224c26753f9f084393b0328 /lisp/magit-git.el | |
| parent | 59ba18a060ad2075a9d34aea9064e2d62f1cd752 (diff) | |
Use ## and seq-some instead of --some
In two cases use lambda, not ##.
Diffstat (limited to 'lisp/magit-git.el')
| -rw-r--r-- | lisp/magit-git.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/magit-git.el b/lisp/magit-git.el index 2ea9f87..a7c37af 100644 --- a/lisp/magit-git.el +++ b/lisp/magit-git.el @@ -1702,10 +1702,10 @@ according to the branch type." (and remote (not (equal remote ".")) ;; The user has opted in... (or force - (--some (if (magit-git-success "check-ref-format" "--branch" it) - (equal it branch) - (string-match-p it branch)) - magit-branch-prefer-remote-upstream)) + (seq-some (##if (magit-git-success "check-ref-format" "--branch" %) + (equal % branch) + (string-match-p % branch)) + magit-branch-prefer-remote-upstream)) ;; and local BRANCH tracks a remote branch... (let ((upstream (magit-get-upstream-branch branch))) ;; whose upstream... |
