Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show full committer and author details #7281

Open
MattSturgeon opened this issue Mar 6, 2024 · 0 comments
Open

Show full committer and author details #7281

MattSturgeon opened this issue Mar 6, 2024 · 0 comments

Comments

@MattSturgeon
Copy link

MattSturgeon commented Mar 6, 2024

Description

Summary

As per git show and git log, it is sometimes useful to see the "full" or "raw" commit header.

For example, if I want to mark another user as the --author or Co-Authored-By on a commit, I need to know the name & email they typically use in their commits.

Examples

git show output

$ git show 0a8910415d --no-patch
commit 0a8910415d07384e076bbc197ed1d1f1eb2500b2
Author: Matt Sturgeon <[email protected]>
Date:   Wed Mar 6 12:55:27 2024 +0000

    fix(nvim): Workaround which-key.nvim limitation

    Until [#583] is resolved, we need to call `:WhichKey` manually.

    Luckily the `<C-w>` mapping is delegated to which-key so it's not a big
    deal...

    [#583]: https://github.com/folke/which-key.nvim/issues/583

    Co-authored-by: Adrian Chong <[email protected]>

Mockup

A quick mockup I threw together in GIMP. The actual implementation could look significantly different if preferred.

Mockup

Alternative

Alternatively, a link to the plain text commit header would also achieve the same underlying goal and may prove more useful for other purposes?

Example URLs

MattSturgeon/nix-config@0a89104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant