about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-09-07 17:25:09 -0700
committerEric Wong <normalperson@yhbt.net>2009-09-07 17:25:09 -0700
commit898d31b2ffa0383d62bf28c4fa49bc74aa92fde5 (patch)
tree7bbcb35c47335071bdb66cc112a230c33a0a7759
parent25faf9f74637db03f0e5e1bcd1785d74d7ff6309 (diff)
downloadclogger-898d31b2ffa0383d62bf28c4fa49bc74aa92fde5.tar.gz
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index cdcded1..11bf2a9 100644
--- a/Rakefile
+++ b/Rakefile
@@ -10,7 +10,7 @@ task :history do
   tags = `git tag -l`.split(/\n/).grep(/^v/).reverse
   timefmt = '%Y-%m-%d %H:%M UTC'
   tags.each do |tag|
-    header, subject, body = `git cat-file tag #{tag}`.split(/\n\n/)
+    header, subject, body = `git cat-file tag #{tag}`.split(/\n\n/, 3)
     tagger = header.split(/\n/).grep(/^tagger /).first.split(/\s/)
     time = Time.at(tagger[-2].to_i).utc
     puts "=== #{tag.sub(/^v/, '')} / #{time.strftime(timefmt)}"