summaryrefslogtreecommitdiff
path: root/g
diff options
context:
space:
mode:
Diffstat (limited to 'g')
-rwxr-xr-xg6
1 files changed, 6 insertions, 0 deletions
diff --git a/g b/g
index 7fbf6834764d..2d601b5e09f8 100755
--- a/g
+++ b/g
@@ -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