diff options
author | Andras Timar <timar@fsf.hu> | 2011-03-23 19:23:49 +0100 |
---|---|---|
committer | Andras Timar <timar@fsf.hu> | 2011-03-23 19:23:49 +0100 |
commit | a5ca1dcb91d6aa6e4943ac99e402e0ed660a8392 (patch) | |
tree | f89c6ce0dff03654a6b5884b263829259a228659 /g | |
parent | 5fa0eba1c2183b9417e3dd7cf3ba6decba776986 (diff) |
set .gitattributes filter for *.po files
Diffstat (limited to 'g')
-rwxr-xr-x | g | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -38,6 +38,12 @@ function update_hooks() if [ "$PWD" != "$RAWBUILDDIR" -a ! -e .gitattributes ]; then ln -s $RAWBUILDDIR/.gitattributes . fi + if [ -z "$(git config filter.po.clean)" ] ; then + git config filter.po.clean 'msgcat - --no-wrap' + fi + if [ -z "$(git config filter.po.smudge)" ] ; then + git config filter.po.smudge cat + fi } # extra params for some commands, like log |