diff options
-rw-r--r-- | clients/common/common.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clients/common/common.go b/clients/common/common.go index c723cdd..8e8b2e2 100644 --- a/clients/common/common.go +++ b/clients/common/common.go @@ -84,7 +84,10 @@ type GitUploadPackInfo struct { } func NewGitUploadPackInfo() *GitUploadPackInfo { - return &GitUploadPackInfo{Capabilities: packp.NewCapabilities()} + return &GitUploadPackInfo{ + Capabilities: packp.NewCapabilities(), + Refs: make(memory.ReferenceStorage, 0), + } } func (i *GitUploadPackInfo) Decode(r io.Reader) error { |