# How to test the url of a remote ?

1 messages from 2019-02-25 to 2019-02-25. Participants: CHABANNE PABLO p1602176.
Thread: https://gitlist.dev/t/50584

## CHABANNE PABLO p1602176, 2019-02-25 15:31

Subject: How to test the url of a remote ?
Message-ID: <1551108712434.33528@etu.univ-lyon1.fr>
URL: https://gitlist.dev/e/1551108712434.33528%40etu.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.

```
