Skip to content

Add commit hash to the default fugitive display format#2240

Open
wookayin wants to merge 1 commit intotpope:masterfrom
wookayin:default-format
Open

Add commit hash to the default fugitive display format#2240
wookayin wants to merge 1 commit intotpope:masterfrom
wookayin:default-format

Conversation

@wookayin
Copy link
Copy Markdown

@wookayin wookayin commented Dec 7, 2023

  • Improve readability of the pretty format string for the git show
    command.

  • Include commit %H to the git show output, which is one of the most
    useful and important information for a git commit being displayed.

@wookayin
Copy link
Copy Markdown
Author

@tpope Any opinion/feedback about this?

@9999years
Copy link
Copy Markdown

@tpope I would like this very much. It taunts me that the filepath includes the commit hash but the buffer does not. Thanks!

- Improve readability of the pretty format string for the `git show`
  command.

- Include `commit %H` to the `git show` output, which is one of the most
  useful and important information for a git commit being displayed.
@wookayin
Copy link
Copy Markdown
Author

wookayin commented Mar 2, 2026

I rebased on the latest master (conflict with 5661dea). @tpope Please merge this!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants