From d7689dd2e47c6df15f5fece49a85a5297d4c4ff3 Mon Sep 17 00:00:00 2001 From: Paul Adenot Date: Thu, 18 Apr 2024 12:00:06 +0200 Subject: [PATCH] Print each commit author email to help understanding the author's affiliation --- components/scmprovider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/scmprovider.py b/components/scmprovider.py index 2f61e9c2..94a79531 100644 --- a/components/scmprovider.py +++ b/components/scmprovider.py @@ -61,7 +61,7 @@ def populate_details(self, repo, run): self.files_other.append(parts[0] + " " + parts[1]) self.summary = run(["git", "log", "--pretty=%s", "-1", self.revision]).stdout.decode() - self.author = run(["git", "log", "--pretty=%an", "-1", self.revision]).stdout.decode() + self.author = run(["git", "log", "--pretty=%an <%ae>", "-1", self.revision]).stdout.decode() self.description = run(["git", "log", "--pretty=%b", "-1", self.revision]).stdout.decode() self.revision_link = repo_and_commit_to_url(repo, self.revision) self.populated = True