From 1cf4fb4598e03f90dc3be408a9b6b16c9442be9a Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 2 Nov 2020 13:18:22 +0100 Subject: [PATCH] Auto-remove POT dating. --- .gitattributes | 1 + scripts/remove-pot-creation-dates.sh | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .gitattributes create mode 100755 scripts/remove-pot-creation-dates.sh diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..796e7e0d --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.po filter=remove-pot-creation-dates diff --git a/scripts/remove-pot-creation-dates.sh b/scripts/remove-pot-creation-dates.sh new file mode 100755 index 00000000..9946abc8 --- /dev/null +++ b/scripts/remove-pot-creation-dates.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +sed '/^"POT-Creation-Date:/d' + -- 2.20.1