Skip to content

Expose basic git log output in commit view

Created by: aisbaa

Feature request description

It would be great to be able to toggle to simple git log output in commit view. This would save time when I need to copy exact commit date and author.

Using sourcegraph #04d1d84c255 commit as an example:

Screenshot 2021-01-04 at 11 57 39

I can't copy email or commit date. For this I need to clone repo and use git log to get that info. Which takes a lot more time than it should.

> git log -n1 04d1d84c255c73fffae79acd47fb2cd95c6c0c90
commit 04d1d84c255c73fffae79acd47fb2cd95c6c0c90
Author: Robert Lin <[email protected]>
Date:   Mon Jan 4 14:05:11 2021 +0800

    prometheus: upgrade to 2.23, update upgrade docs (#16976)

It could be implemented differently, on the other hand outputing raw git log data would be a lot more future prove for all use cases.