From 156af568594e6c1b7be8c4d2c4256ba5117b0a1b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 17 Jan 2025 10:59:28 -0600 Subject: [PATCH] init patches --- patchset.Make.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/patchset.Make.go b/patchset.Make.go index ac1c60b..1a7cec6 100644 --- a/patchset.Make.go +++ b/patchset.Make.go @@ -139,6 +139,9 @@ func (p *Patchset) addPatchFiles(repo *gitpb.Repo) error { patch.Data = data patch.parseData() patch.StartHash = repo.DevelHash() + if p.Patches == nil { + p.Patches = new(Patches) + } p.Patches.Append(patch) log.Info("ADDED PATCH FILE", path) return nil