Skip to content

Commit 3e5e837

Browse files
committed
resolve fossil-scm.org and sqlite.org as fossil repository
1 parent a4a1136 commit 3e5e837

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

remote_repository.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,11 @@ func (repo *OtherRepository) VCS() (*VCSBackend, *url.URL, error) {
201201
return SubversionBackend, repo.URL(), nil
202202
}
203203

204+
switch repo.url.Host {
205+
case "fossil-scm.org", "sqlite.org":
206+
return FossilBackend, repo.URL(), nil
207+
}
208+
204209
// Detect VCS backend automatically
205210
if cmdutil.RunSilently("git", "ls-remote", repo.url.String()) == nil {
206211
return GitBackend, repo.URL(), nil

0 commit comments

Comments
 (0)