show the git author and email
This commit is contained in:
parent
20ea487d06
commit
73ef74d479
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue