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" \
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
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"