From 5cedeeed30215a1660fea6d6ddbeff8a52269381 Mon Sep 17 00:00:00 2001 From: Shane Jaroch Date: Thu, 8 Jan 2026 18:35:16 -0500 Subject: [PATCH] rclone --- git-remote-gcrypt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git-remote-gcrypt b/git-remote-gcrypt index a667678..87fe8dc 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -1358,9 +1358,12 @@ elif [ "$NAME" = "gcrypt-clean" ]; then # Get all files in the remote # For rsync backends, list files directly via rsync --list-only (awk extracts filename). + # For rclone backends, list files via rclone lsf. # For git backends, list files from the gcrypt branch tree. if isurl rsync "$URL"; then remote_files=$(rsync --no-motd --list-only "$(rsynclocation "$URL")/" | awk '{print $NF}' | grep -vE '^\.$|^\.\.$' || :) + elif isurl rclone "$URL"; then + remote_files=$(rclone lsf "$(rclonelocation "$URL")" 2>/dev/null || :) else remote_files=$(git ls-tree --name-only "$Gref" 2>/dev/null || :) fi -- 2.52.0