init patches
This commit is contained in:
parent
8d275ff054
commit
156af56859
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue