[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit d24c510748 2/4: Remove duplicated `and'
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit d24c510748 2/4: Remove duplicated `and' |
Date: |
Wed, 5 Oct 2022 06:58:42 -0400 (EDT) |
branch: elpa/git-commit
commit d24c5107488bc9ac24330a8c3300907c12b3761b
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Remove duplicated `and'
---
lisp/magit-git.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index e2fdb9b5c7..15f14d5665 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -1074,13 +1074,13 @@ tracked file."
"--exclude-standard" "--directory"))
(defun magit-skip-worktree-files ()
- (--keep (and (and (= (aref it 0) ?S)
- (substring it 2)))
+ (--keep (and (= (aref it 0) ?S)
+ (substring it 2))
(magit-list-files "-t")))
(defun magit-assume-unchanged-files ()
- (--keep (and (and (memq (aref it 0) '(?h ?s ?m ?r ?c ?k))
- (substring it 2)))
+ (--keep (and (memq (aref it 0) '(?h ?s ?m ?r ?c ?k))
+ (substring it 2))
(magit-list-files "-v")))
(defun magit-revision-files (rev)