pull: Fix some whitespace and a comment

This commit is contained in:
Phaedrus Leeds 2021-03-10 10:01:04 -08:00
parent 8459d52fbc
commit 2709da4360
1 changed files with 17 additions and 16 deletions

View File

@ -4104,8 +4104,9 @@ ostree_repo_pull_with_options (OstreeRepo *self,
&configured_branches, error))
goto out;
/* TODO reindent later */
{ OstreeFetcherURI *first_uri = pull_data->meta_mirrorlist->pdata[0];
/* Handle file:// URIs */
{
OstreeFetcherURI *first_uri = pull_data->meta_mirrorlist->pdata[0];
g_autofree char *first_scheme = _ostree_fetcher_uri_get_scheme (first_uri);
/* NB: we don't support local mirrors in mirrorlists, so if this passes, it