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

Feature request: ignore certain commits #94

Open
gwmccull opened this issue Aug 23, 2024 · 0 comments
Open

Feature request: ignore certain commits #94

gwmccull opened this issue Aug 23, 2024 · 0 comments

Comments

@gwmccull
Copy link

I just ran git-of-theseus on a repo that I help manage at work. Unfortunately, it's showing nearly all of the code as new this year and I think it's because we updated our Prettier config and reformatted most of our repo earlier this year

Git blame has the ability to ignore certain commit SHAs either using a file and the command, git blame --ignore-revs-file .git-blame-ignore-revs or by passing the SHAs and using the git blame --ignore-rev <SHA> option

It looks like git-of-theseus uses blame under the hood. Is it possible to add an option to either allow the user to pass the SHAs to ignore or to use the ignore revs file? Git also allows you to set a config for the repo using the blame.ignoreRevsFile option

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

No branches or pull requests

1 participant