Skip to content

Commit

Permalink
Print each commit author email to help understanding the author's aff…
Browse files Browse the repository at this point in the history
…iliation
  • Loading branch information
padenot authored and mozfreddyb committed Apr 22, 2024
1 parent 5cf2180 commit d7689dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/scmprovider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7689dd

Please sign in to comment.