zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.16k stars 2.97k forks source link

Support `.git-blame-ignore-revs` #13350

Open filipwiech opened 4 months ago

filipwiech commented 4 months ago

Check for existing issues

Describe the feature

Would be great if Zed could support .git-blame-ignore-revs file stored in the project, which contains hashes of commits to avoid when showing change history (for example skip them in git blame, both inline and in the editor gutter). This is often used to hide modifications which are not really helpful or otherwise useful to understand the actual meaningful changes, such as project-wide code reformatting after updating the formatting tool or its settings. :+1:

If applicable, add mockups / screenshots to help present your vision of the feature

No response

oleasteo commented 2 weeks ago

To be clear, the filename is not relevant. It's the git config that is:

[blame]
    ignoreRevsFile = .git-blame-ignore-revs