diff options
author | ferhat elmas <elmas.ferhat@gmail.com> | 2016-11-07 20:32:00 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-11-07 20:32:00 +0100 |
commit | 7b0f65f5f5486f5e32f749826744929813734e24 (patch) | |
tree | da3d4bbf7caf3fe5d712fb3a1df9c42fb549ee2c /clients | |
parent | 0ff9ef2b44c53e557c78bde0fd9c29847e5f0e23 (diff) | |
download | go-git-7b0f65f5f5486f5e32f749826744929813734e24.tar.gz |
gofmt simplify (#111)
Diffstat (limited to 'clients')
-rw-r--r-- | clients/ssh/git_upload_pack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/ssh/git_upload_pack.go b/clients/ssh/git_upload_pack.go index e172f1f..d53dc63 100644 --- a/clients/ssh/git_upload_pack.go +++ b/clients/ssh/git_upload_pack.go @@ -309,7 +309,7 @@ func (f *fetchSession) Close() (err error) { func (s *GitUploadPackService) getCommand() string { directory := s.endpoint.Path - directory = directory[1:len(directory)] + directory = directory[1:] return fmt.Sprintf("git-upload-pack '%s'", directory) } |