From: Joey Hess <joey@kodama.kitenet.net>
Date: Wed, 31 Oct 2007 22:35:37 +0000 (-0400)
Subject: * Don't truncate git commit messages to the first line in RecentChanges,
X-Git-Tag: 2.12~68
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/ada249e0dde4a84d583ab46345c789e366a4be33

* Don't truncate git commit messages to the first line in RecentChanges,
  show the full message.
---

diff --git a/IkiWiki/Rcs/git.pm b/IkiWiki/Rcs/git.pm
index 68b573fb9..a1e06c51c 100644
--- a/IkiWiki/Rcs/git.pm
+++ b/IkiWiki/Rcs/git.pm
@@ -366,7 +366,7 @@ sub rcs_recentchanges ($) { #{{{
 
 	my @rets;
 	foreach my $ci (git_commit_info('HEAD', $num)) {
-		my $title = @{ $ci->{'comment'} }[0];
+		my $title = join("\n", @{$ci->{'comment'}});
 
 		# Skip redundant commits.
 		next if ($title eq $dummy_commit_msg);
diff --git a/debian/changelog b/debian/changelog
index 8326de6ce..8f4c68f54 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,8 +12,10 @@ ikiwiki (2.12) UNRELEASED; urgency=low
   * Improve the RecentChanges display for git merges, by passing -c instead
     of -m to git-log, and by skipping display of commits that change no
     pages.
+  * Don't truncate git commit messages to the first line in RecentChanges,
+    show the full message.
 
- -- Joey Hess <joeyh@debian.org>  Wed, 31 Oct 2007 18:30:54 -0400
+ -- Joey Hess <joeyh@debian.org>  Wed, 31 Oct 2007 18:34:51 -0400
 
 ikiwiki (2.11) unstable; urgency=low