From 5990aeb7198a4961a363eeb422a3faa57c8dc029 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Tue, 6 Dec 2016 23:17:16 +0100 Subject: revision based on goreportcard.com --- plumbing/transport/common.go | 4 ++-- plumbing/transport/internal/common/common.go | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'plumbing/transport') diff --git a/plumbing/transport/common.go b/plumbing/transport/common.go index 2379422..73b7d27 100644 --- a/plumbing/transport/common.go +++ b/plumbing/transport/common.go @@ -3,9 +3,9 @@ // // `Client` can be used to fetch and send packfiles to a git server. // The `client` package provides higher level functions to instantiate the -// appropiate `Client` based on the repository URL. +// appropriate `Client` based on the repository URL. // -// Go-git supports HTTP and SSH (see `Protocols`), but you can also install +// go-git supports HTTP and SSH (see `Protocols`), but you can also install // your own protocols (see the `client` package). // // Each protocol has its own implementation of `Client`, but you should diff --git a/plumbing/transport/internal/common/common.go b/plumbing/transport/internal/common/common.go index f6aa204..11c86ef 100644 --- a/plumbing/transport/internal/common/common.go +++ b/plumbing/transport/internal/common/common.go @@ -277,7 +277,6 @@ func (s *session) checkNotFoundError() error { return fmt.Errorf("unknown error: %s", line) } - return nil } var ( -- cgit