init patches

This commit is contained in:
Jeff Carr 2025-01-17 10:59:28 -06:00
parent 8d275ff054
commit 156af56859
1 changed files with 3 additions and 0 deletions

View File

@ -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