]> git.ipfire.org Git - thirdparty/git.git/commit
remote: relocate valid_remote_name
authorMeet Soni <meetsoni3017@gmail.com>
Tue, 4 Feb 2025 14:28:52 +0000 (19:58 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 Feb 2025 17:55:59 +0000 (09:55 -0800)
commitf21ea69d945f958704f2fe143c2638ecae6e0d12
tree0a39bf5dd912a03b9716262f744ae7c1e1f4a3af
parentbc204b742735ae06f65bb20291c95985c9633b7f
remote: relocate valid_remote_name

Move the `valid_remote_name()` function from the refspec subsystem to
the remote subsystem to better align with the separation of concerns.

Signed-off-by: Meet Soni <meetsoni3017@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refspec.c
refspec.h
remote.c
remote.h