Lines Matching refs:gitTimeout
33 gitTimeout = time.Minute * 15 // timeout for a git operation const
61 if err := shell.Shell(gitTimeout, exe, wd, "add", file); err != nil {
83 return shell.Shell(gitTimeout, exe, wd, args...)
111 return shell.Shell(gitTimeout, exe, wd, args...)
126 if err := shell.Shell(gitTimeout, exe, path, cmds...); err != nil {
147 if err := shell.Shell(gitTimeout, exe, path, cmds...); err != nil {
158 return shell.Shell(gitTimeout, exe, path, "checkout", commit.String())
163 return shell.Shell(gitTimeout, exe, dir, "apply", patch)
168 out, err := shell.Exec(gitTimeout, exe, "", nil, "ls-remote", url, ref)
193 …out, err := shell.Exec(gitTimeout, exe, "", nil, "log", at, "--pretty=format:"+prettyFormat, fmt.S…
202 …out, err := shell.Exec(gitTimeout, exe, "", nil, "log", "--pretty=format:"+prettyFormat, fmt.Sprin…
227 return shell.Exec(gitTimeout, exe, "", nil, "show", at+":"+path)