diff options
Diffstat (limited to 'git-hooks/pre-commit')
-rwxr-xr-x | git-hooks/pre-commit | 11 |
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: |