From a5f7be472ab80385ba9ea65c8d4684645a460ed2 Mon Sep 17 00:00:00 2001 From: Matthias Jaros Date: Mon, 3 Aug 2026 15:01:09 +0200 Subject: Removed usage of grep and use fish internal instead --- src/git-run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/git-run b/src/git-run index 2b062e8..6d541d0 100755 --- a/src/git-run +++ b/src/git-run @@ -61,7 +61,7 @@ function verifyPermissions end # check for permissions - if not grep -q -E "^$repoDir:$currentUser:$permission\$" < $_REPO_PERMISSIONS_FILE + if not string match -r -q -- "^$repoDir:$currentUser:$permission\$" < $_REPO_PERMISSIONS_FILE emit log DENY no_permissions return 4 end -- cgit v1.3.1