Fix git lfs clone on Windows; Stdout shouldn't be set AND copied

This commit is contained in:
Steve Streeting 2016-03-14 12:34:21 +00:00
parent 27fb43ba1d
commit d52eb78342

@ -643,9 +643,6 @@ func CloneWithoutFilters(args []string) error {
cmdargs = append(cmdargs, args...)
cmd := execCommand("git", cmdargs...)
// Spool stdout directly to our own
cmd.Stdout = os.Stdout
// Assign pty/tty so git thinks it's a real terminal
tty := NewTty(cmd)
stdout, err := tty.Stdout()