summaryrefslogtreecommitdiff
path: root/patchset.Make.go
diff options
context:
space:
mode:
Diffstat (limited to 'patchset.Make.go')
-rw-r--r--patchset.Make.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/patchset.Make.go b/patchset.Make.go
index e3be08c..aa1660e 100644
--- a/patchset.Make.go
+++ b/patchset.Make.go
@@ -159,6 +159,7 @@ func (p *Patchset) addPatchFiles(repo *gitpb.Repo) error {
patch.Data = data
patch.parseData()
patch.StartHash = repo.DevelHash()
+ patch.RepoNamespace = repo.GetGoPath()
if p.Patches == nil {
p.Patches = new(Patches)
}
@@ -182,6 +183,8 @@ func (p *Patch) parseData() string {
switch fields[0] {
case "From":
p.CommitHash = fields[1]
+ case "Subject:":
+ p.Comment = line
case "diff":
p.Files = append(p.Files, line)
}