Skip to content

Dead code: bounded runGit helper has no callers #52

Description

@loraldx

func (s *Service) runGit(cwd string, maxBytes int64, args ...string) (string, bool, error) (git.go:198-211) has zero call sites repo-wide — every git invocation uses runGitOutput/runGitApply/runGitNetwork/runExternalOutput. It carries a second, independent truncation code path that no longer matches how the handlers bound output (they use boundedTextArtifact). Delete it to remove the divergent path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions