read archive.go cmd := exec.CommandContext(ctx, "git", args...) read commit.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "log", "-1", "--format=%H", commit, "--", path) read commit.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "log", "-1", "--format=%H|%an|%ae|%aI|%s|%P", sha) read commit.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "diff-tree", "--root", "--no-commit-id", "--numstat", "-r", sha) read commit.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "diff", "--numstat", base+"..."+sha) read compare.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "rev-list", "--count", base+".."+head) read compare.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "rev-list", "--count", head+".."+base) read compare.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "log", "--format=%H|%an|%ae|%aI|%s", base+".."+head) read compare.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "merge-base", base, head) read compare.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "diff", "--numstat", base+"..."+head) read compare.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "shortlog", "-sne", "--all") read compare.go cmd := exec.CommandContext(ctx, "git", args...) read compare.go cmd := exec.CommandContext(ctx, "git", "log", "--format=%H|%an|%ae|%aI|%s", base+".."+head) read content.go return exec.CommandContext(ctx, "git", "-C", dir, "show", commit+":"+path).Output() read content.go out, err := exec.CommandContext(ctx, "git", "-C", dir, "ls-tree", "--name-only", commit, "--", path).Output() read content.go body, err := exec.CommandContext(ctx, "git", "-C", dir, "show", commit+":"+path).Output() read content.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "ls-tree", "-z", commit, "--", path) read content.go out, err := exec.CommandContext(ctx, "git", "-C", dir, "ls-tree", "-r", commit, "--name-only").Output() read content.go out, err := exec.CommandContext(ctx, "git", args...).CombinedOutput() read content.go out, err := exec.CommandContext(ctx, "git", args...).CombinedOutput() read content.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "ls-tree", "-l", commit, lsPath) read content.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "ls-tree", "-z", commit, "--", path) read content.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "ls-tree", commit, path) read content.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "rev-parse", "--verify", "--end-of-options", ref+"^{commit}") read content.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "for-each-ref", "--format=%(refname:short)", RefsHeadsPrefix, "--count=1") read content.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "for-each-ref", "--sort=-creatordate", read content.go cmd := exec.CommandContext(ctx, "git", "diff", "--name-status", base+"..."+head) read content.go cmd := exec.CommandContext(ctx, "git", "diff", "--numstat", base+"..."+head) read content.go cmd := exec.CommandContext(ctx, "git", "diff", base+"..."+head) read content.go cmd := exec.CommandContext(ctx, "git", "diff", "-U4", base+"..."+head, "--", path) read diff_files.go cmd = exec.CommandContext(ctx, "git", "-C", dir, "diff-tree", "--root", "-p", "--no-commit-id", "-r", sha) read diff_files.go cmd = exec.CommandContext(ctx, "git", "-C", dir, "diff", base+"..."+sha) read diff_files.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "diff", base+"..."+head) read diff_files.go cmd := exec.CommandContext(ctx, "git", args...) read git_database.go raw, err := exec.CommandContext(ctx, "git", "-C", dir, "cat-file", "commit", commitSHA).Output() read git_database.go typeOut, err := exec.CommandContext(ctx, "git", "-C", dir, "cat-file", "-t", tagSHA).Output() read git_database.go raw, err := exec.CommandContext(ctx, "git", "-C", dir, "cat-file", "tag", tagSHA).Output() read git_database.go out, err := exec.CommandContext(ctx, "git", args...).Output() read git_database.go out, err := exec.CommandContext(ctx, "git", "-C", dir, "rev-parse", rev+"^{commit}").Output() read git_database.go out, err := exec.CommandContext(ctx, "git", "-C", dir, "rev-parse", rev).Output() read git_database.go out, err := exec.CommandContext(ctx, "git", "-C", dir, "rev-parse", rev+"^{tree}").Output() read git_database_create.go typeOut, err := exec.CommandContext(ctx, "git", "-C", dir, "cat-file", "-t", objSHA).Output() read git_database_create.go sizeOut, err := exec.CommandContext(ctx, "git", "-C", dir, "cat-file", "-s", objSHA).Output() read git_database_create.go content, err := exec.CommandContext(ctx, "git", "-C", dir, "cat-file", "blob", objSHA).Output() read merge.go cmd := exec.CommandContext(ctx, "git", "-C", repoDir, "merge-tree", read merge.go cmd := exec.CommandContext(ctx, "git", "-C", repoDir, "cat-file", "-t", "HEAD") read merge.go cmd := exec.CommandContext(ctx, "du", "-sk", repoDir) read refs.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "merge-base", "--is-ancestor", older, newer) read refs.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "show-ref", "--verify", "--hash", ref) read refs.go cmd := exec.CommandContext(ctx, "git", args...) read refs.go out, err := exec.CommandContext(ctx, "git", "-C", dir, "symbolic-ref", "--short", "HEAD").Output() read refs.go if err := exec.CommandContext(ctx, "git", "-C", dir, "rev-parse", "--verify", plumbing.NewBranchReferenceName(branch).String()).Run(); err != nil { read repository_snapshot.go command := exec.CommandContext(ctx, "git", commandArgs...) read search.go cmd := exec.CommandContext(ctx, "git", args...) read search.go cmd := exec.CommandContext(ctx, "git", "-C", dir, "show", "-s", read search.go out, err := exec.CommandContext(ctx, "git", args...).Output() read search.go out, err := exec.CommandContext(ctx, "git", args...).Output() read search.go cmd := exec.CommandContext(ctx, "git", args...) read search.go branchCmd := exec.CommandContext(ctx, "git", "-C", dir, "for-each-ref", "--format=%(refname:short)", RefsHeadsPrefix, "--count=1") read search.go cmd := exec.CommandContext(ctx, "git", grepArgs...)