pkg/changeset
Pierangelo Di Pilato a850b9e047
Use t.Setenv instead of os.Setenv in tests (#2454)
Go 1.17 introduced a new handy API for setting env vars scoped for
a single test so we can avoid the hard to read set and reset env
loops.

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
2022-03-10 10:00:48 -08:00
..
testdata changeset: Look in packed-refs file if ref file not found. (#2425) 2022-02-17 07:28:13 -08:00
commit.go changeset: Look in packed-refs file if ref file not found. (#2425) 2022-02-17 07:28:13 -08:00
commit_test.go Use t.Setenv instead of os.Setenv in tests (#2454) 2022-03-10 10:00:48 -08:00
doc.go Add the commit ID key as constant for log label (#158) 2018-11-06 14:59:36 -08:00