diff options
Diffstat (limited to 'internal/git2go/executor.go')
-rw-r--r-- | internal/git2go/executor.go | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/internal/git2go/executor.go b/internal/git2go/executor.go index 0007ab7e5..65058d2d2 100644 --- a/internal/git2go/executor.go +++ b/internal/git2go/executor.go @@ -2,10 +2,14 @@ package git2go // Executor executes gitaly-git2go. type Executor struct { - binaryPath string + binaryPath string + gitBinaryPath string } // New returns a new gitaly-git2go executor using the provided binary. -func New(binaryPath string) Executor { - return Executor{binaryPath: binaryPath} +func New(binaryPath, gitBinaryPath string) Executor { + return Executor{ + binaryPath: binaryPath, + gitBinaryPath: gitBinaryPath, + } } |