aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/file
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2017-04-27 17:09:21 +0200
committerGitHub <noreply@github.com>2017-04-27 17:09:21 +0200
commita548013a95c25f830103263c25ca999429b2f9dd (patch)
tree79a824ccedf4ce516744788f6de1dc768034cb7a /plumbing/transport/file
parentbc6b1c429f5a6f4d78a17cbe0e1a9927416f4f1b (diff)
parent45bdbcbe6fdab5a8a4ed4f1b16c191f400a0f6b6 (diff)
downloadgo-git-a548013a95c25f830103263c25ca999429b2f9dd.tar.gz
Merge pull request #365 from smola/git-rel-path
transport: make Endpoint an interface, fixes #362
Diffstat (limited to 'plumbing/transport/file')
-rw-r--r--plumbing/transport/file/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/transport/file/client.go b/plumbing/transport/file/client.go
index 58e60db..d2a57d0 100644
--- a/plumbing/transport/file/client.go
+++ b/plumbing/transport/file/client.go
@@ -41,7 +41,7 @@ func (r *runner) Command(cmd string, ep transport.Endpoint, auth transport.AuthM
return nil, err
}
- return &command{cmd: exec.Command(cmd, ep.Path)}, nil
+ return &command{cmd: exec.Command(cmd, ep.Path())}, nil
}
type command struct {