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

Support --ignore-matching-lines option to git log #3

Open
dairiki opened this issue Jun 16, 2023 · 0 comments
Open

Support --ignore-matching-lines option to git log #3

dairiki opened this issue Jun 16, 2023 · 0 comments

Comments

@dairiki
Copy link
Owner

dairiki commented Jun 16, 2023

Being able to pass a regex to git log's --ignore-matching-lines option could be useful to ignore changes in single-line-value Lektor fields (e.g. the _hidden and _discoverable flags).

Of course --ignore-matching-lines is only supported for git >= 2.30.

If we want to make this configurable on a per-field basis, this will take some refactoring, since, currently we can only cache one git log output per source file. It would be pretty straightforward (module the fact that older gits do not support the --ignore-matching-lines option) to make this a global config option (as was done with follow_renames in 98022c6.

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