From: Harald Nordgren via GitGitGadget Date: Wed, 25 Nov 2026 18:55:31 GMT Subject: [PATCH 0/3] remote: reject invalid branch names Message-ID: Reject invalid branch names in remote add -t, add -m and set-branches before any configuration is written, instead of silently breaking every future fetch on that remote. Harald Nordgren (3): remote: reject invalid branch names in add -t remote: reject invalid branch names in set-branches remote: reject invalid branch names in add -m builtin/remote.c | 27 +++++++++++++++++++++++++++ t/t5505-remote.sh | 28 ++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) base-commit: 6de20f6092dcf9bdb1c8efe03db4b70c82b423dd Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2429%2FHaraldNordgren%2Fremote-add-branch-validate-name-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2429/HaraldNordgren/remote-add-branch-validate-name-v1 Pull-Request: https://github.com/git/git/pull/2429 -- gitgitgadget