From 636f23d8343f31dfbbcd3fd7996d614e53f7dd0b Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Mon, 25 Feb 2019 20:17:54 +0100 Subject: [PATCH] Remove ref to stdout because of pipe usage --- file.go | 1 - 1 file changed, 1 deletion(-) diff --git a/file.go b/file.go index 0b06948..454f49e 100644 --- a/file.go +++ b/file.go @@ -106,7 +106,6 @@ func (fp *FilePages) PageHistory(p string) ([]Revision, error) { page := strings.Replace(p, " ", "_", -1) cmd := exec.Command("git", "log", "--pretty=oneline", "--no-decorate", "--color=never", page) cmd.Stderr = os.Stderr - cmd.Stdout = os.Stdout cmd.Dir = fp.dirname output, err := cmd.StdoutPipe() if err != nil {