summaryrefslogtreecommitdiff
path: root/patchsets.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-29 21:36:59 -0600
committerJeff Carr <[email protected]>2024-12-29 21:36:59 -0600
commit73ef74d479c9f9fd49db4447a58ef9fd37b19a28 (patch)
treeb61ad877a5ec48b5b7c930530cafcfbc6258c22d /patchsets.go
parent20ea487d06cfdb851e0122baea6504df41678cef (diff)
show the git author and emailv0.22.31v0.22.30v0.22.29v0.22.28v0.22.27
Diffstat (limited to 'patchsets.go')
-rw-r--r--patchsets.go6
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)
}
}
}