Lines Matching refs:dir

25 	dir string  member
28 func newGit(os, vm, dir string) *git {
32 dir: dir,
37 dir := git.dir
38 runSandboxed(dir, "git", "bisect", "reset")
39 runSandboxed(dir, "git", "reset", "--hard")
40 origin, err := runSandboxed(dir, "git", "remote", "get-url", "origin")
50 if _, err := runSandboxed(dir, "git", "checkout", "origin/"+branch); err != nil {
56 if _, err := runSandboxed(dir, "git", "fetch", "--no-tags"); err != nil {
62 if _, err := runSandboxed(dir, "git", "checkout", "origin/"+branch); err != nil {
69 dir := git.dir
70 runSandboxed(dir, "git", "bisect", "reset")
71 if _, err := runSandboxed(dir, "git", "reset", "--hard"); err != nil {
76 _, err := runSandboxed(dir, "git", "fetch", repo, branch)
80 if _, err := runSandboxed(dir, "git", "checkout", "FETCH_HEAD"); err != nil {
87 dir := git.dir
88 runSandboxed(dir, "git", "bisect", "reset")
89 if _, err := runSandboxed(dir, "git", "reset", "--hard"); err != nil {
94 _, err := runSandboxed(dir, "git", "fetch", repo)
102 dir := git.dir
103 if _, err := runSandboxed(dir, "git", "checkout", commit); err != nil {
113 if _, err := runSandboxed(git.dir, "git", "remote", "add", "origin", repo); err != nil {
116 if _, err := runSandboxed(git.dir, "git", "fetch", "origin", branch); err != nil {
123 if err := os.RemoveAll(git.dir); err != nil {
126 if err := osutil.MkdirAll(git.dir); err != nil {
129 if err := osutil.SandboxChown(git.dir); err != nil {
132 if _, err := runSandboxed(git.dir, "git", "init"); err != nil {
143 …output, err := runSandboxed(git.dir, "git", "log", "--format=%H%n%s%n%ae%n%ad%n%b", "-n", "1", com…
195 output, err := runSandboxed(git.dir, "git", "log",
206 cmd.Dir = git.dir
284 dir := git.dir
285 runSandboxed(dir, "git", "bisect", "reset")
286 runSandboxed(dir, "git", "reset", "--hard")
291 output, err := runSandboxed(dir, "git", "bisect", "start", bad, good)
295 defer runSandboxed(dir, "git", "bisect", "reset")
314 output, err = runSandboxed(dir, "git", "bisect", bisectTerms[res])
332 …output, err := runSandboxed(git.dir, "git", "tag", "--no-contains", commit, "--merged", commit, "v…