Git development
 help / color / mirror / Atom feed
* [PATCH 0/3] remote: reject invalid branch names
@ 2026-11-25 18:55 Harald Nordgren via GitGitGadget
  2026-11-25 18:55 ` [PATCH 1/3] remote: reject invalid branch names in add -t Harald Nordgren via GitGitGadget
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Harald Nordgren via GitGitGadget @ 2026-11-25 18:55 UTC (permalink / raw)
  To: git; +Cc: Harald Nordgren

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-26  5:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 18:55 [PATCH 0/3] remote: reject invalid branch names Harald Nordgren via GitGitGadget
2026-11-25 18:55 ` [PATCH 1/3] remote: reject invalid branch names in add -t Harald Nordgren via GitGitGadget
2026-11-26  3:07   ` Junio C Hamano
2026-11-25 18:55 ` [PATCH 2/3] remote: reject invalid branch names in set-branches Harald Nordgren via GitGitGadget
2026-11-26  5:17   ` Junio C Hamano
2026-11-25 18:55 ` [PATCH 3/3] remote: reject invalid branch names in add -m Harald Nordgren via GitGitGadget
2026-11-26  5:17   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox