should show patch author?

This commit is contained in:
Jeff Carr 2025-01-19 10:48:35 -06:00
parent 7fa4889dce
commit aab8d232b5
1 changed files with 5 additions and 2 deletions

View File

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