aboutsummaryrefslogtreecommitdiffstats
path: root/clients
diff options
context:
space:
mode:
Diffstat (limited to 'clients')
-rw-r--r--clients/common/common.go5
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 {