diff options
author | Paulo Gomes <paulo.gomes@suse.com> | 2023-12-02 10:30:30 +0000 |
---|---|---|
committer | Paulo Gomes <paulo.gomes@suse.com> | 2023-12-02 10:30:39 +0000 |
commit | 8b47ceb1aa854f3c3bfa1c347157a04324fcd51e (patch) | |
tree | 4bb09922af1faa0caca922f0e22f5ba341c970e2 /go.mod | |
parent | 4f614891047bae5d0f7a253f014175505b9821d7 (diff) | |
download | go-git-8b47ceb1aa854f3c3bfa1c347157a04324fcd51e.tar.gz |
storage: filesystem, Add option to set a specific FS for alternates
Introduces the option to set a FS for alternates, enabling more flexible cross FS
sharing of alternates. If none is set, falls back to the current FS used for the
object storage.
The changes only process a given path once, and if an alternates dir is not valid,
exits with error - aligning behaviour with upstream.
Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -20,6 +20,7 @@ require ( github.com/pjbgf/sha1cd v0.3.0 github.com/sergi/go-diff v1.1.0 github.com/skeema/knownhosts v1.2.1 + github.com/stretchr/testify v1.8.4 github.com/xanzy/ssh-agent v0.3.3 golang.org/x/crypto v0.16.0 golang.org/x/net v0.19.0 @@ -33,10 +34,13 @@ require ( github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be // indirect github.com/cloudflare/circl v1.3.3 // indirect github.com/cyphar/filepath-securejoin v0.2.4 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect golang.org/x/mod v0.12.0 // indirect golang.org/x/tools v0.13.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect ) |