moby--moby/builder/remotecontext/git
Sebastiaan van Stijn 4fdc1bb1fb
builder/remotecontext/git: allow building on go1.18
cmd.Environ() is new in go1.19, and not needed for this specific case.
Without this, trying to use this package in code that uses go1.18 will fail;

    builder/remotecontext/git/gitutils.go:216:23: cmd.Environ undefined (type *exec.Cmd has no field or method Environ)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-21 17:41:41 +02:00
..
gitutils.go builder/remotecontext/git: allow building on go1.18 2022-10-21 17:41:41 +02:00
gitutils_test.go builder: make git config isolation opt-in 2022-10-20 16:47:18 -04:00