]> Nutra Git (v2) - gamesguru/git-remote-gcrypt.git/commitdiff
try this #5
authorShane <chown_tee@proton.me>
Mon, 26 Jan 2026 06:40:10 +0000 (06:40 +0000)
committerShane <chown_tee@proton.me>
Mon, 26 Jan 2026 06:40:10 +0000 (06:40 +0000)
git-remote-gcrypt

index df8e4dec7d17bc984faf12c24206eb80558c9f56..53f16e8a29bd688fe0b3e7bb189d698e3a6ea413 100755 (executable)
@@ -1531,6 +1531,9 @@ get_remote_file_list()
                        # List files from ALL fetched branches
                        # We iterate refs manually to detect which one has files
                        local refs all_files="" ref_files=""
+                       # distinct refs
+                       Global_Dirty_Refs=""
+                       refs=$(git for-each-ref --format='%(refname)' "refs/gcrypt/list-files/")
                        echo_info "Debug: Found refs: $refs"
                        for ref in $refs; do
                                echo_info "Debug: Checking ref $ref"