1
0
Fork 0
forked from forgejo/forgejo

Update code.gitea.io/git (#1824)

* Update code.gitea.io/git

* Update function calls

* govendor fetch
This commit is contained in:
Ethan Koenig 2017-05-30 05:32:01 -04:00 committed by Bo-Yi Wu
parent 367ff327ed
commit 474d636794
11 changed files with 209 additions and 126 deletions

View file

@ -70,7 +70,11 @@ func (c *Command) RunInDirTimeoutPipeline(timeout time.Duration, dir string, std
return err
}
return cmd.Wait()
if err := cmd.Wait(); err != nil {
return err
}
return ctx.Err()
}
// RunInDirTimeout executes the command in given directory with given timeout,