summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2007-10-31 18:35:37 -0400
committerJoey Hess <joey@kodama.kitenet.net>2007-10-31 18:35:37 -0400
commitada249e0dde4a84d583ab46345c789e366a4be33 (patch)
tree3963b29019d164c444739c5fbbab1ad46ee85065
parent3506f4ba07b612312f7b892c73f5d486f320974e (diff)
* Don't truncate git commit messages to the first line in RecentChanges,
show the full message.
-rw-r--r--IkiWiki/Rcs/git.pm2
-rw-r--r--debian/changelog4
2 files changed, 4 insertions, 2 deletions
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