From 77bc39499ce76961534fae60ba9b6573e9e1a992 Mon Sep 17 00:00:00 2001 From: Trey Bastian Date: Thu, 9 Apr 2026 21:04:51 +0100 Subject: fixing issue with description passing through ssh command hopefully --- git-shell-commands/new-project | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-shell-commands/new-project') diff --git a/git-shell-commands/new-project b/git-shell-commands/new-project index 46c6e93..4e2cb15 100755 --- a/git-shell-commands/new-project +++ b/git-shell-commands/new-project @@ -71,7 +71,7 @@ if [ "$PUBLIC" = true ]; then echo "${REMOTE_BASE_URL}/${PROJECT_NAME}" > "${PROJECT_NAME}/public.conf" REMOTE_ARGS=("repos/${PROJECT_NAME}") if [ -n "$DESCRIPTION" ]; then - REMOTE_ARGS+=(--description "$DESCRIPTION") + REMOTE_ARGS+=(--description "$(printf '%q' "$DESCRIPTION")") fi ssh git@treybastian.com new-repo "${REMOTE_ARGS[@]}" echo "public repo: ${REMOTE_BASE_URL}/${PROJECT_NAME}" -- cgit v1.2.3