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:
-iter'>feature/window-iter LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/unotools/inc/pch
AgeCommit message (Expand)Author
2019-05-12regenerate PCH headersLuboš Luňák
2019-05-09regenerate PCH headers for the 4 new levelsLuboš Luňák
2017-09-22Fresh run of bin/update_pch.shMike Kaganski
2017-04-25errinf.hxx moved out of tools and into vcl moduleChris Sherlock
2016-01-31OSL_THIS_FUNC is a rip-off of BOOST_CURRENT_FUNCTION so we can use thatCaolán McNamara
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian
2015-09-09unotools: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe
2015-08-18Remove newly unused ucbhelper/fileidentifierconverter.hxxStephan Bergmann
2015-02-16boost::noncopyable->'= delete'Caolán McNamara
2015-02-06fdo#75757: Remove inheritance from std::vectorMatthew Pottage
2015-02-05Updated all precompiled headers.Ashod Nakashian
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara
2014-05-28update_pchThomas Arnhold
2014-05-11fix-includes.pl: unotoolsThomas Arnhold
2014-05-09update_pch: add a bunch of pch filesThomas Arnhold