[sysadmin-bin: 67/168] Skip .po check during import
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin: 67/168] Skip .po check during import
- Date: Thu, 24 May 2012 19:57:04 +0000 (UTC)
commit d1ca9052d8f4fea5fe2551253489194bf58f44c1
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Thu Mar 19 23:24:11 2009 -0400
Skip .po check during import
Don't check .po's during import; we don't want to enforce correct
.po files for some ancient historical branch.
pre-receive-check-po | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/pre-receive-check-po b/pre-receive-check-po
index 503154d..e9b10ea 100755
--- a/pre-receive-check-po
+++ b/pre-receive-check-po
@@ -122,6 +122,14 @@ check_pos() {
}
+GIT_DIR=$(git rev-parse --git-dir 2>/dev/null)
+
+# Don't check .po's during import; we don't want to enforce correct
+# .po files for some ancient historical branch
+if [ -e $GIT_DIR/pending ] ; then
+ exit 0
+fi
+
if [ $# = 3 ] ; then
if ! check_pos $@ ; then
exit 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]