moby--moby/builder/remotecontext/git
Sebastiaan van Stijn 80dc5186ec
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>
(cherry picked from commit 4fdc1bb1fb)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-21 17:44:20 +02:00
..
gitutils.go builder/remotecontext/git: allow building on go1.18 2022-10-21 17:44:20 +02:00
gitutils_test.go builder: make git config isolation opt-in 2022-10-20 16:46:23 -04:00