libfetchers: fix error message for bad indirect URL
It used to say "GitHub URL ... is invalid", which is wrong and confusing. Change-Id: I89a00aee21a56710d6afdfa0510d4e9c6a6a6964
This commit is contained in:
@@ -45,7 +45,7 @@ struct IndirectInputScheme : InputScheme
|
||||
ref = path[1];
|
||||
rev = Hash::parseAny(path[2], HashType::SHA1);
|
||||
} else
|
||||
throw BadURL("GitHub URL '%s' is invalid", url.url);
|
||||
throw BadURL("indirect URL '%s' is invalid", url.url);
|
||||
|
||||
std::string id = path[0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user