[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ssh-deploy e10221e 127/133: Using (string-prefix-p) ins
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ssh-deploy e10221e 127/133: Using (string-prefix-p) instead of (string-match) for checking if path is in root |
Date: |
Sat, 27 Mar 2021 14:48:58 -0400 (EDT) |
branch: externals/ssh-deploy
commit e10221e98dc0358ad891bd85a722d314ac3e65b7
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Using (string-prefix-p) instead of (string-match) for checking if path is
in root
---
ssh-deploy.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ssh-deploy.el b/ssh-deploy.el
index bd262c6..50c53b0 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -5,8 +5,8 @@
;; Author: Christian Johansson <christian@cvj.se>
;; Maintainer: Christian Johansson <christian@cvj.se>
;; Created: 5 Jul 2016
-;; Modified: 9 Sep 2019
-;; Version: 3.1.9
+;; Modified: 16 Sep 2019
+;; Version: 3.1.10
;; Keywords: tools, convenience
;; URL: https://github.com/cjohansson/emacs-ssh-deploy
@@ -373,7 +373,7 @@
(defun ssh-deploy--file-is-in-path-p (file path)
"Return non-nil if FILE is in the path PATH."
- (not (null (string-match path file))))
+ (string-prefix-p path file))
(defun ssh-deploy--file-is-included-p (path exclude-list)
"Return non-nil if PATH is not in EXCLUDE-LIST."
- [elpa] externals/ssh-deploy 4c3eee5 059/133: Fixed issue were checking verbose variable was expecting boolean instead of integer, (continued)
- [elpa] externals/ssh-deploy 4c3eee5 059/133: Fixed issue were checking verbose variable was expecting boolean instead of integer, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy a57ae0c 061/133: Updated use-package example to work with byte-compiled code, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 77f0a1d 070/133: Byte-compilation working for unit test without warning, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 54f664b 081/133: Added unit tests for async.el if it's loaded, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy e4d1403 086/133: Added async.el autoload for new change detection and pushed version, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 65d58c3 106/133: Added unit test for directory difference, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 7ad73a4 103/133: Unit test for directory difference passing, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 8f358b1 102/133: Started on unit test for directory differences, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy e2db9c7 117/133: Fixed unit test for directory differences where directories are symbolic, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy ded455b 126/133: More idiomatic code for status updates, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy e10221e 127/133: Using (string-prefix-p) instead of (string-match) for checking if path is in root,
Stefan Monnier <=
- [elpa] externals/ssh-deploy fce4ea3 133/133: Merge remote-tracking branch 'upstream/ssh-deploy/main' into externals/ssh-deploy, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 5b263c1 045/133: Some changes from ELPA merged, Stefan Monnier, 2021/03/27