]> Nutra Git (v2) - gamesguru/git-remote-gcrypt.git/commitdiff
tweak & move experimental warning msg
authorSean Whitton <spwhitton@spwhitton.name>
Sat, 28 Apr 2018 20:05:07 +0000 (13:05 -0700)
committerSean Whitton <spwhitton@spwhitton.name>
Sat, 28 Apr 2018 20:31:29 +0000 (13:31 -0700)
Move it to where the repository format notice used to be.

Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
git-remote-gcrypt

index d089c571e757a59b2c7963bc6815c4b1ae81cb8c..ba75f092662bf043e1dbd0179058039ddbf2df98 100755 (executable)
@@ -508,11 +508,6 @@ ensure_connected()
                echo_info "Updated URL for $r_name, gitception:// -> ()"
        fi
 
-       if isurl rclone "$URL"; then
-               echo_info "WARNING: git-remote-gcrypt's rclone support is experimental." \
-                       "  Keep backups."
-       fi
-
        # Find the URL fragment
        url_frag=${URL##*"#"}
        isnoteq "$url_frag" "$URL" || url_frag=
@@ -860,6 +855,11 @@ setup()
 
        trap cleanup_tmpfiles EXIT
        trap 'exit 1' 1 2 3 15
+
+       if isurl rclone "$URL"; then
+               echo_info "WARNING: rclone support is experimental."
+               echo_info "WARNING: Early adoptors only.  Keep backups."
+       fi
 }
 
 # handle git-remote-helpers protocol