aboutsummaryrefslogtreecommitdiff
path: root/lib/git/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/git.go')
-rw-r--r--lib/git/git.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/git/git.go b/lib/git/git.go
index 963bdf6e..78a44e28 100644
--- a/lib/git/git.go
+++ b/lib/git/git.go
@@ -8,6 +8,7 @@ package git
import (
"bytes"
"fmt"
+ "io"
"os"
"os/exec"
"path/filepath"
@@ -22,8 +23,8 @@ const (
)
var (
- _stdout = os.Stdout
- _stderr = os.Stderr
+ _stdout io.Writer = os.Stdout
+ _stderr io.Writer = os.Stderr
)
// CheckoutRevision will set the HEAD to specific revision on specific branch.