summaryrefslogtreecommitdiff
path: root/patchsets.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-19 10:48:35 -0600
committerJeff Carr <[email protected]>2025-01-19 10:48:35 -0600
commitaab8d232b5d0d5488cdc6fe6d0c43140a46f1537 (patch)
treed1871d7c0126992542b61a04f635be700fcc1c1e /patchsets.go
parent7fa4889dce7ca99ba7f2ed7c89558aad2faeb66b (diff)
Diffstat (limited to 'patchsets.go')
-rw-r--r--patchsets.go7
1 files changed, 5 insertions, 2 deletions
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)
}