aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2018-04-28 13:05:07 -0700
committerSean Whitton <spwhitton@spwhitton.name>2018-04-28 13:31:29 -0700
commit982eb59bf47cccacc872040e1c4e00ef077cb179 (patch)
tree5f655c8c8f697e697d854f058b49ea11963df2bd
parent8540e765baf5a6f3b01e69dcbeead9f6a5478094 (diff)
downloadgit-remote-gcrypt-982eb59bf47cccacc872040e1c4e00ef077cb179.tar.gz
tweak & move experimental warning msg
Move it to where the repository format notice used to be. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rwxr-xr-xgit-remote-gcrypt10
1 files changed, 5 insertions, 5 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt
index d089c57..ba75f09 100755
--- a/git-remote-gcrypt
+++ b/git-remote-gcrypt
@@ -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