Skip to content

Instantly share code, notes, and snippets.

Forked from alikins/.gitattributes
Last active May 27, 2020
What would you like to do?
po/pot file attributes for textconf and diff (ie, make git diff on gettext files less useless)
# From
[diff "msgcat"]
textconv = msgcat --no-location --no-wrap --sort-output
# ~/.config/git/attributes
*.pot diff=msgcat
*.po diff=msgcat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment