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

Stop committing changes in pot creation date #63

Open
rffontenelle opened this issue Apr 4, 2024 · 1 comment
Open

Stop committing changes in pot creation date #63

rffontenelle opened this issue Apr 4, 2024 · 1 comment
Assignees

Comments

@rffontenelle
Copy link
Owner

git diff -I'^"POT-Creation-Date: ' --numstat **/*.po **/*.pot | cut -f3 | xargs -r git add

This should avoid committing changes exclusively in POT-Creation-Date.

However, pot files are being committed even with just this change. See e.g. this commit

@rffontenelle rffontenelle self-assigned this Apr 4, 2024
@rffontenelle
Copy link
Owner Author

rffontenelle commented Apr 15, 2024

When files are deleted in the POT generating step, this could be causing git diff to show more than just POT-Creation-Date changes, which would cause all pot to be git added.

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