aboutsummaryrefslogtreecommitdiff
path: root/git-hooks
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2011-09-14 19:56:05 +0200
committerAndras Timar <atimar@suse.com>2011-09-14 19:56:05 +0200
commit0f448ce7c01065e2dc11baf1b4a034f0cf710146 (patch)
treed4110547481ee61d32b6263f45e8487d10207c7e /git-hooks
parent38a31e08e104e996d5317871c201bc5ac6546cfd (diff)
remove msgcat commit hook on .po file fdo#40706
Originally it was planned to be useful, but it slows down commit operations significantly. In practice only I commit po files to this repo and I do the msgcat --no-wrap anyway. Also, as reported in fdo#40706, when msgcat was not available, empty file would be committed.
Diffstat (limited to 'git-hooks')
-rwxr-xr-xgit-hooks/pre-commit11
1 files changed, 0 insertions, 11 deletions
diff --git a/git-hooks/pre-commit b/git-hooks/pre-commit
index d0379c2e633..14ed29c5fe8 100755
--- a/git-hooks/pre-commit
+++ b/git-hooks/pre-commit
@@ -49,17 +49,6 @@ EOM
exit( 1 );
}
-# run 'msgcat --nowrap' when committing *.po files
-open(FILES, "git diff-index --cached --name-only $against |") || die "Cannot run git diff-index.";
-while (my $file = <FILES>) {
- chomp($file);
- if ($file =~ /\.po$/ && -e $file) {
- system("msgcat --no-wrap $file > $file.KQnBbK6wQE;mv $file.KQnBbK6wQE $file;");
- system("git add $file");
- }
-}
-
-
# all OK
exit( 0 );
# vi:set shiftwidth=4 expandtab:
re/windows-cross-build'>feature/windows-cross-build LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/external/hsqldb
AgeCommit message (Expand)Author
2016-03-02Update to match realityTor Lillqvist
2014-03-11normalize values of HSQLDB_USE_JDBC_4_1Michael Stahl
2013-12-28Firebird, instead of SQLite, has been chosen to replace HSQLDB in futureJulien Nabet
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl
2013-10-25gbuild: remove gb_ExternalPackage_add_jar_for_installMichael Stahl
2013-10-18Fix building from inside modules moved to externalKhaled Hosny
2013-10-18fdo#70393: move hsqldb to a subdir of externalKhaled Hosny