diff options
| author | Jeff Carr <[email protected]> | 2024-12-29 21:36:59 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-29 21:36:59 -0600 |
| commit | 73ef74d479c9f9fd49db4447a58ef9fd37b19a28 (patch) | |
| tree | b61ad877a5ec48b5b7c930530cafcfbc6258c22d /patchsets.go | |
| parent | 20ea487d06cfdb851e0122baea6504df41678cef (diff) | |
Diffstat (limited to 'patchsets.go')
| -rw-r--r-- | patchsets.go | 6 |
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) } } } |
