more tweaks/spelling
authorShane Jaroch <chown_tee@proton.me>
Sat, 17 Jan 2026 01:52:44 +0000 (20:52 -0500)
committerShane Jaroch <chown_tee@proton.me>
Sat, 17 Jan 2026 01:52:44 +0000 (20:52 -0500)
git-remote-gcrypt

index e9fce0aed7aa8f2be77d845abca504c599ba7a54..ff1e9283037a44b04de25da7f618c5ab32d98f5a 100755 (executable)
@@ -746,7 +746,7 @@ read_config()
 
        if isnull "$Recipients"
        then
-               if [ "$NAME" = "gcrypt-stat" ]; then
+               if [ "$NAME" = "gcrypt-stat" ] || [ "$NAME" = "gcrypt-clean" ]; then
                        return 0
                fi
                echo_info "You have not configured any keys you can encrypt to" \
@@ -1468,7 +1468,7 @@ cmd_clean()
                else
                        echo_info "Error: No gcrypt manifest found on remote '$URL'."
                        echo_info "Aborting clean to prevent accidental data loss."
-                       echo_info "To force initiation of the repository as git-crypt (and delete all old objects):"
+                       echo_info "To force initiation of the repository as gcrypt (and delete all old objects):"
                        echo_info "  git-remote-gcrypt clean --init --force $URL"
                        exit 1
                fi
@@ -1575,7 +1575,7 @@ cmd_stat()
                echo "Tracked/Encrypted files: 0"
                echo "Untracked/Plain files: $file_count"
                echo ""
-               echo "To force initiation of the repository as git-crypt (and delete all old objects):"
+               echo "To force initiation of the repository as gcrypt (and delete all old objects):"
                echo "  git-remote-gcrypt clean --init --force $URL"
        fi
        CLEAN_FINAL "$URL"