diff --git a/patchsets.go b/patchsets.go index 353fc61..be1f28f 100644 --- a/patchsets.go +++ b/patchsets.go @@ -70,8 +70,11 @@ func listPatchsets(w http.ResponseWriter) { fmt.Println(entry.Name(), err) continue } - author := "Author: " + os.Getenv("GIT_AUTHOR_NAME") - author += " <" + os.Getenv("GIT_AUTHOR_EMAIL") + ">" + author := "Author: " + p.GitAuthorName + author += " <" + p.GitAuthorEmail + ">" + + // 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) }