Update gitignore and add attributes to po/
authorWerner Koch <wk@gnupg.org>
Wed, 26 Jan 2011 17:20:32 +0000 (18:20 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 26 Jan 2011 17:20:32 +0000 (18:20 +0100)
.gitignore
po/.gitattributes [new file with mode: 0644]

index 699581b..a36a733 100644 (file)
@@ -10,3 +10,5 @@ doc/gnupg.info*
 doc/stamp-vti
 doc/version.texi
 po/gnupg2.pot
+*.o
+*.a
diff --git a/po/.gitattributes b/po/.gitattributes
new file mode 100644 (file)
index 0000000..17b178c
--- /dev/null
@@ -0,0 +1,7 @@
+# You should add
+#[filter "cleanpo"]
+#        clean = "awk '/^\"POT-Creation-Date:/&&!s{s=1;next};!/^#: /{print}'"
+# to your config file.
+
+/??.po     filter=cleanpo
+/??_??.po  filter=cleanpo