diff options
author | enverbisevac <enver@bisevac.com> | 2023-10-06 02:54:20 +0200 |
---|---|---|
committer | enverbisevac <enver@bisevac.com> | 2023-10-08 00:40:30 +0200 |
commit | 479d3e952e75d6e41b71a81cc9a92dec792825ba (patch) | |
tree | d2cfec4017f7a1aadd295cb900046fe34c90a39b /storage/memory | |
parent | ced662e9db6667069a5255446425ec40d388f7e1 (diff) | |
download | go-git-479d3e952e75d6e41b71a81cc9a92dec792825ba.tar.gz |
git: clone --shared implemented
Diffstat (limited to 'storage/memory')
-rw-r--r-- | storage/memory/storage.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/memory/storage.go b/storage/memory/storage.go index ef6a445..79211c7 100644 --- a/storage/memory/storage.go +++ b/storage/memory/storage.go @@ -202,6 +202,10 @@ func (o *ObjectStorage) DeleteLooseObject(plumbing.Hash) error { return errNotSupported } +func (o *ObjectStorage) AddAlternate(remote string) error { + return errNotSupported +} + type TxObjectStorage struct { Storage *ObjectStorage Objects map[plumbing.Hash]plumbing.EncodedObject |