Fix remote URL

This commit is contained in:
Patrick Lühne 2019-03-02 03:11:20 +01:00
parent a7875ad363
commit 81c5e9b0b7
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ impl BenchmarkRepository
Err(error) => panic!("failed to initialize result Git repository for job {} in “{}”: {}", id, result_repository_path.display(), error),
};
match self.repository.remote(&remote_name, &format!("../{}", remote_name))
match self.repository.remote(&remote_name, &format!("file://{}", std::fs::canonicalize(&result_repository_path).unwrap().display()))
{
Ok(_) => (),
Err(error) => panic!("cannot create remote: {}", error),