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

.git-blame-ignore-revs #72

Open
lemmyg opened this issue Jan 3, 2025 · 5 comments
Open

.git-blame-ignore-revs #72

lemmyg opened this issue Jan 3, 2025 · 5 comments
Labels
enhancement New feature or request

Comments

@lemmyg
Copy link

lemmyg commented Jan 3, 2025

Description

Hello,
I was trying to use .git-blame-ignore-revs option with egit plugin. Seems to me that egit ignores the parameter when I do comparisons.
I have my .git/config file with blame ignoreRegsFile to .git-blame-ignore-revs

If manually I run git blame, I can see that git is filtering correctly all commits I have in .git-blame-ignore-revs

Im doing anything wrong? could be implemented?

Thanks

Motivation

support useful git feature

Alternatives considered

No response

Additional context

No response

@lemmyg lemmyg added the enhancement New feature or request label Jan 3, 2025
@msohn
Copy link
Member

msohn commented Jan 3, 2025

Did you mean the config option blame.ignoreRevsFile [1] ?

[1] https://git-scm.com/docs/git-blame#Documentation/git-blame.txt-blameignoreRevsFile

@lemmyg
Copy link
Author

lemmyg commented Jan 3, 2025 via email

@lemmyg
Copy link
Author

lemmyg commented Jan 3, 2025 via email

@tomaswolf
Copy link
Contributor

This would need to be done in JGit (config handling, using it in BlameCommand). Not sure EGit would need anything on top of that.

Related older issues:

@lemmyg
Copy link
Author

lemmyg commented Jan 6, 2025

I have created a simple example in github.
I hope it helps
https://github.com/lemmyg/blameTest

github blame detects the config
[blame]
ignoreRevsFile = .git-blame-ignore-revs

but egit ignore it.

Im using latest eclipse version with Git integration for Eclipse 7.1.0.202411261347-r

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants