Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

remove git binary dependency from the file:// protocol #847

Open
@dustin-decker

Description

@dustin-decker

My application running from a scratch Docker image, which means the only executable in it is the statically compiled application binary.

When running r, err := git.Init(memory.NewStorage(), nil) this error is returned:

exec: "git": executable file not found in $PATH

This confused me for a bit because the project claims to be 'pure Go'.

After inspecting a bit more, I think it might have been introduced with c128f5d but should not be a hard dependency and cause an error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions