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

Re: [PATCH] remote.c: correct the check for a leading '/' in a remote name

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Oct 14, 2008, 20:35 UTC
Message-ID
<alpine.LNX.1.00.0810141633321.19665@iabervon.org>
In-Reply-To
<J-KL1Cgc2b78Lced5uBNDhP0MHdg91do73K_0waicFQYbDZHjYkocw@cipher.nrlssc.navy.mil>
On Tue, 14 Oct 2008, Brandon Casey wrote:
Show 13 quoted lines
> This test is supposed to disallow remote entries in the config file of the
> form:
> 
>    [remote "/foobar"]
>       ...
> 
> The leading slash in '/foobar' is not acceptable.
> 
> Instead it was incorrectly testing that the subkey had no leading '/', which
> had no effect since the subkey pointer was made to point at a '.' in the
> preceding lines.
> 
> Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>

Good catch; looks like I was checking for a mistake that nobody ever makes, but it's still good to check.

Acked-by: Daniel Barkalow <barkalow@iabervon.org>
Previous: Brandon Casey
Message 2 of 2 in “remote.c: correct the check for a leading '/' in a remote name”
  1. remote.c: correct the check for a leading '/' in a remote nameBrandon Casey, Oct 14, 2008
  2. Daniel BarkalowOct 14, 2008

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.