From: Joey Hess Date: Thu, 11 Jul 2013 01:48:16 +0000 (-0400) Subject: Deal with git behavior change in 1.7.8 and newer that broke support for commits with... X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/b162563dc1c6126953e66cdcc508f389b9d39d8e Deal with git behavior change in 1.7.8 and newer that broke support for commits with an empty commit message. --- diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm index 3879abeae..0852ce10d 100644 --- a/IkiWiki/Plugin/git.pm +++ b/IkiWiki/Plugin/git.pm @@ -550,7 +550,10 @@ sub rcs_commit_helper (@) { # Force git to allow empty commit messages. # (If this version of git supports it.) my ($version)=`git --version` =~ /git version (.*)/; - if ($version ge "1.5.4") { + if ($version ge "1.7.2") { + push @opts, "--allow-empty-message"; + } + elsif ($version ge "1.5.4") { push @opts, '--cleanup=verbatim'; } else { diff --git a/debian/changelog b/debian/changelog index 8d55d5df8..22dc3eb47 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ikiwiki (3.20130711) unstable; urgency=low + + * Deal with git behavior change in 1.7.2 and newer that broke support + for commits with an empty commit message. + + -- Joey Hess Wed, 10 Jul 2013 21:49:23 -0400 + ikiwiki (3.20130710) unstable; urgency=low * blogspam: Fix encoding issue in RPC::XML call.