summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patchsets.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/patchsets.go b/patchsets.go
index 5638187..a2f343a 100644
--- a/patchsets.go
+++ b/patchsets.go
@@ -70,8 +70,10 @@ func listPatchsets(w http.ResponseWriter) {
fmt.Println(entry.Name(), err)
continue
}
- fmt.Fprintln(w, entry.Name(), p.Name, p.Comment)
- fmt.Println(entry.Name(), p.Name, p.Comment)
+ author := "Author: " + os.Getenv("GIT_AUTHOR_NAME")
+ author += " <" + os.Getenv("GIT_AUTHOR_EMAIL") + ">"
+ fmt.Fprintln(w, entry.Name(), p.Name, p.Comment, author)
+ fmt.Println(entry.Name(), p.Name, p.Comment, author)
}
}
}