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

How to test the url of a remote ?

From
CPCHABANNE PABLO p1602176 <pablo.chabanne@etu.univ-lyon1.fr>
Date
Feb 25, 2019, 15:31 UTC
Message-ID
<1551108712434.33528@etu.univ-lyon1.fr>
Hi,
we are currently working on adding the set-upstream to pull, and we were wondering on how to test if the url of the remote is a valid one. We believe it's call in the do_fetch() function in fetch.c, but we don't how it works.
Thanks in advance,

-- Corentin Bombard, Nathan Berbezier and Pablo Chabanne.

Message 1 of 1 in “How to test the url of a remote ?”
  1. CHABANNE PABLO p1602176Feb 25, 2019

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.