diff options
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/config/config.go b/config/config.go index 4cf5f7c..7138952 100644 --- a/config/config.go +++ b/config/config.go @@ -3,8 +3,6 @@ package config import ( "errors" "fmt" - - "gopkg.in/src-d/go-git.v3/clients/common" ) const ( @@ -40,10 +38,6 @@ func (c *RemoteConfig) Validate() error { return ErrRemoteConfigEmptyURL } - if _, err := common.NewEndpoint(c.URL); err != nil { - return err - } - if len(c.Fetch) == 0 { c.Fetch = []RefSpec{RefSpec(fmt.Sprintf(DefaultRefSpec, c.Name))} } |