Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'cruise-control/shorten_info.pl')
-rwxr-xr-xcruise-control/shorten_info.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/cruise-control/shorten_info.pl b/cruise-control/shorten_info.pl
new file mode 100755
index 000000000..beaf87e06
--- /dev/null
+++ b/cruise-control/shorten_info.pl
@@ -0,0 +1,9 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+while (<>) {
+ last if $_ =~ m/^diff --git/;
+ print $_;
+}