diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2021-12-10 06:58:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 06:58:09 +0100 |
commit | e60e348f614a7272e4a51bdee8ba20f059ca4cce (patch) | |
tree | 15e8b08e313251925d95cb327bcf98e8f245f2ee /storage/transactional/reference.go | |
parent | 32c4f532abd57797322e97d95dfa02821980e309 (diff) | |
parent | 557a1fdcaabd51899b9213175762ed9603409985 (diff) | |
download | go-git-e60e348f614a7272e4a51bdee8ba20f059ca4cce.tar.gz |
Merge pull request #418 from abhinav/unused
Remove unused vars/types/funcs/fields
Diffstat (limited to 'storage/transactional/reference.go')
-rw-r--r-- | storage/transactional/reference.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/storage/transactional/reference.go b/storage/transactional/reference.go index 3b009e2..1c09307 100644 --- a/storage/transactional/reference.go +++ b/storage/transactional/reference.go @@ -15,9 +15,6 @@ type ReferenceStorage struct { // commit is requested, the entries are added when RemoveReference is called // and deleted if SetReference is called. deleted map[plumbing.ReferenceName]struct{} - // packRefs if true PackRefs is going to be called in the based storer when - // commit is called. - packRefs bool } // NewReferenceStorage returns a new ReferenceStorer based on a base storer and @@ -108,7 +105,6 @@ func (r ReferenceStorage) CountLooseRefs() (int, error) { // PackRefs honors the storer.ReferenceStorer interface. func (r ReferenceStorage) PackRefs() error { - r.packRefs = true return nil } |