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 /plumbing/protocol/packp/updreq_encode.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 'plumbing/protocol/packp/updreq_encode.go')
-rw-r--r-- | plumbing/protocol/packp/updreq_encode.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plumbing/protocol/packp/updreq_encode.go b/plumbing/protocol/packp/updreq_encode.go index 08a819e..1205cfa 100644 --- a/plumbing/protocol/packp/updreq_encode.go +++ b/plumbing/protocol/packp/updreq_encode.go @@ -9,10 +9,6 @@ import ( "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability" ) -var ( - zeroHashString = plumbing.ZeroHash.String() -) - // Encode writes the ReferenceUpdateRequest encoding to the stream. func (req *ReferenceUpdateRequest) Encode(w io.Writer) error { if err := req.validate(); err != nil { |