Skip to content
Snippets Groups Projects
Closed Replace calls to git.ExecSafe with specific use cases
  • View options
  • Replace calls to git.ExecSafe with specific use cases

  • View options
  • Closed Issue created by Warren Gifford

    Created by: ryanslade

    Instead of calling directly into git.ExecSafe, we should instead call into functions that show the intent.

    For example: https://github.com/sourcegraph/sourcegraph/blob/main/cmd/frontend/graphqlbackend/externallink/repository.go#L47

    We should instead be calling a function named something like git.GetDefaultBranchShort.

    Once all calls are changed, remove git.ExecSafe

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first