git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [GSoC][PATCH] remote: relocate valid_remote_name

From
Patrick Steinhardt <ps@pks.im>
Date
Feb 4, 2025, 07:55 UTC
Message-ID
<Z6HH8mWDpJUSHDd7@pks.im>
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
Previous: Meet SoniNext: Meet Soni
Message 2 of 8 in “remote: relocate valid_remote_name”
  1. Meet SoniFeb 4, 2025
  2. Patrick SteinhardtFeb 4, 2025
  3. Meet SoniFeb 4, 2025
  4. Patrick SteinhardtFeb 4, 2025
  5. Meet SoniFeb 6, 2025
  6. [GSoC][PATCH v2] remote: relocate valid_remote_nameMeet Soni, Feb 4, 2025
  7. Patrick SteinhardtFeb 4, 2025
  8. Junio C HamanoFeb 4, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.