From aab8d232b5d0d5488cdc6fe6d0c43140a46f1537 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 19 Jan 2025 10:48:35 -0600 Subject: should show patch author? --- patchsets.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'patchsets.go') 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) } -- cgit v1.2.3