Roman Dmytrenko

Results 15 issues of Roman Dmytrenko

## This PR Add experimental WithFromEnv() option to configure the OFREP provider using environment variables. - Add WithFromEnv() configuration option supporting: - OFREP_ENDPOINT: base URI for the OFREP service -...

Include new the usetesting and modernize linters

size:L

The Fetch method was not persisting fetched references to refs/heads after pulling from the remote. When using depth=1 (shallow fetches), the shallow boundary wasn't maintained and refs/heads/ were never created....

size:L

When walking objects in a repository, the objectWalker should check shallow references in addition to regular refs. This ensures that shallow clones are properly handled during operations like pruning or...

### Bug Description ```sh panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x28b33b8] goroutine 33 [running]: github.com/go-git/go-git/v6/plumbing/format/packfile.(*FSObject).Reader(0xc000243c20) github.com/go-git/go-git/[email protected]/plumbing/format/packfile/fsobject.go:69 +0xb8 github.com/go-git/go-git/v6/plumbing/object.(*Tree).Decode(0xc0009df620, {0x4754ae0, 0xc000243c20})...

bug