]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Don't truncate git commit messages to the first line in RecentChanges,
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 31 Oct 2007 22:35:37 +0000 (18:35 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 31 Oct 2007 22:35:37 +0000 (18:35 -0400)
  show the full message.

IkiWiki/Rcs/git.pm
debian/changelog

index 68b573fb9a379e2a3451f39860ec8ab77d26fbea..a1e06c51ce4973c7e0e386a8886ad033728b0bbc 100644 (file)
@@ -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);
index 8326de6ce8f3d127adedf535bef79e9fa0dd4e7d..8f4c68f549967e43560a2d72eb9ddaea2e0dff8b 100644 (file)
@@ -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