From: Patrick Steinhardt <ps@pks.im>
To: Meet Soni <meetsoni3017@gmail.com>
Cc: git@vger.kernel.org, gitster@pobox.com
Subject: Re: [GSoC][PATCH] remote: relocate valid_remote_name
Date: Tue, 4 Feb 2025 08:55:30 +0100 [thread overview]
Message-ID: <Z6HH8mWDpJUSHDd7@pks.im> (raw)
In-Reply-To: <20250204041430.36035-1-meetsoni3017@gmail.com>
On Tue, Feb 04, 2025 at 09:44:30AM +0530, Meet Soni wrote:
> Move the `valid_remote_name()` function from `refspec.h` to `remote.h` to
> better align with the separation of concerns.
Nit: you don't only move the function declaration from "refspec.h" to
"remote.h", but also move its definition from "refspec.c" to "remote.c".
So you might want to instead say that you move the function between
subsystems, which would imply both moves.
The change itself looks straight-forward to me. Did you happen to check
whether this allows you to drop any includes for "refspec.h"?
Thanks!
Patrick
next prev parent reply other threads:[~2025-02-04 7:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-04 4:14 [GSoC][PATCH] remote: relocate valid_remote_name Meet Soni
2025-02-04 7:55 ` Patrick Steinhardt [this message]
2025-02-04 14:06 ` Meet Soni
2025-02-04 14:47 ` Patrick Steinhardt
2025-02-06 10:14 ` Meet Soni
2025-02-04 14:28 ` [GSoC][PATCH v2] " Meet Soni
2025-02-04 14:48 ` Patrick Steinhardt
2025-02-04 14:38 ` [GSoC][PATCH] " Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z6HH8mWDpJUSHDd7@pks.im \
--to=ps@pks.im \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=meetsoni3017@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).