Skip to content

Make formatted blame metadata determine color instead of commit#871

Merged
dandavison merged 3 commits intomasterfrom
867-blame-style
Dec 28, 2021
Merged

Make formatted blame metadata determine color instead of commit#871
dandavison merged 3 commits intomasterfrom
867-blame-style

Conversation

@dandavison
Copy link
Owner

@dandavison dandavison commented Dec 27, 2021

Fixes #868 cc @zachriggle

  • With this changeset the blame colors are now determined by the formatted blame metadata (i.e. the text created at run time by blame-format) rather than by the commit alone.
  • Also new options blame-separator and blame-separator-style, in addition to blame-code-style introduced in New option blame-code-style #870
[delta]
    blame-separator-style = red
    blame-code-style = syntax
    blame-format = {author:<15.14}
git blame drivers/misc/lkdtm/core.c
image

- Give up on repeat blame line optimization
- Don't assume blame key is commit
@dandavison dandavison merged commit 13f60da into master Dec 28, 2021
@dandavison dandavison deleted the 867-blame-style branch December 28, 2021 12:16
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.

🚀 "git blame ... | delta" will colorize based on commit date, even if only "--blame-format '{author} |'" is specified

1 participant