aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--log.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/log.rb b/log.rb
index ca08b9c..f1b4236 100644
--- a/log.rb
+++ b/log.rb
@@ -110,7 +110,13 @@ class Log
end
end
h.sort!{|a,b| a.rev <=> b.rev}
- Log.new(h)
+ a = []
+ begin
+ a << h.pop
+ end while a.last.comment =~ /^Column .*$/
+ a.pop
+ a.sort!{|a1,b1| a1.rev <=> b1.rev}
+ Log.new(a)
end
end