-
Notifications
You must be signed in to change notification settings - Fork 379
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
🚀 syntax-highlight 'git blame' output #426
Comments
One thing we could do here is, if the user has |
I've merged initial support for this into master. Thanks @phil-blain for the feature request a while back! It's controlled by the new options below. At the moment, each commit gets assigned a color from This is still rough so suggestions and feedback welcome. cc @Kr1ss-XD @ulwlu @davidmnoll
|
Thanks a lot @dandavison. It's amazing to see the pace the tool is evolving with ! 👍 I really like this feature, although some details would still be nice to have, such as
I'm aware both points would require As another note, it looks like I can't get |
Yes, please. I am really quite fond of the
This is neat. I didn't know you could do that. The config setting is documented, but |
That flag's something I didn't know it's existing. 😆 |
@michaelblyons @Kr1ss-XD thanks for the points above. Now that I look at what git offers in blame.coloring, color.blame.highlightRecent, blame.date, blame.showEmail, etc, I'm starting to think that my first pass at this (in master) is doing too much. Would it make sense to backtrack and say that delta's job here is just the following:
|
Good questions, Dan. There are two things in your demo that I would miss if you went the minimal route:
Edit: I won't be offended if you drop back to just code highlighting. I just wanted to remark on the utility of what you've already done. |
I agree to @michaelblyons with everything, including both bulletpoints, and the closing post scriptum.
|
Unfortunately I think this is not going to go out with the next release, due to a security bug in a time library used to format the blame timestamps. #746 Let me know if you know of a good workaround. Perhaps that's best, in view of the discussion above; what we have so far for blame is preliminary. (Next release is imminent, with the new line-wrapping side-by-side mode). |
I was just going to file an issue for this! Thanks @dandavison and @phil-blain! |
Hi @zachriggle, no problem! The current blame work is in a branch if you'd like to try it: #761. There are quite a lot of open design questions -- discussed above in this issue -- due to the fact that git itself offers many options controlling blame output. But the changes in that branch at least should offer a new enhanced blame view for users that do not have a customized blame config. Let's have discussion in this issue. All thoughts appreciated. |
Hahaha, added in 2.34.0. |
Hi @dandavison ! searching "blame" in the issues brougt me to this one, but here is one (crazy?) idea:
delta could syntax-highlight
git blame output
! that would be really great. What do you think (I can open a new issue for that if you like) ?Originally posted by @phil-blain in #291 (comment)
The text was updated successfully, but these errors were encountered: