From f21ea69d945f958704f2fe143c2638ecae6e0d12 Mon Sep 17 00:00:00 2001 From: Meet Soni Date: Tue, 4 Feb 2025 19:58:52 +0530 Subject: 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 Signed-off-by: Junio C Hamano --- refspec.h | 1 - 1 file changed, 1 deletion(-) (limited to 'refspec.h') diff --git a/refspec.h b/refspec.h index 69d693c87d..dc428f86f2 100644 --- a/refspec.h +++ b/refspec.h @@ -61,7 +61,6 @@ void refspec_appendn(struct refspec *rs, const char **refspecs, int nr); void refspec_clear(struct refspec *rs); int valid_fetch_refspec(const char *refspec); -int valid_remote_name(const char *name); struct strvec; /* -- cgit 1.2.3-korg