aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/config/decoder.go
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing/format/config/decoder.go')
-rw-r--r--plumbing/format/config/decoder.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/plumbing/format/config/decoder.go b/plumbing/format/config/decoder.go
index c6ad3d8..0f02ce1 100644
--- a/plumbing/format/config/decoder.go
+++ b/plumbing/format/config/decoder.go
@@ -2,7 +2,6 @@ package config
import (
"io"
- "os"
"github.com/src-d/gcfg"
)
@@ -34,6 +33,5 @@ func (d *Decoder) Decode(config *Config) error {
config.AddOption(s, ss, k, v)
return nil
}
-
- return gcfg.ReadWithCallback(io.TeeReader(d, os.Stdout), cb)
+ return gcfg.ReadWithCallback(d, cb)
}