git-remote-mediawiki: don't compute the diff when getting commit message
commit28c24bd7253c3c7a4f3134c5bae4d039b9838e87
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Wed, 27 Jun 2012 09:10:16 +0000 (27 11:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Jun 2012 21:18:01 +0000 (27 14:18 -0700)
tree6d8c125bdc54b70cc21cee792c5348da8e7db6b2
parenta7271ad1dccaf1a1875992520204debb37ed78bb
git-remote-mediawiki: don't compute the diff when getting commit message

While we're there, simplify the code a bit: since log --format=%s anyway
shows the subject line as a single line, no need to split to take the
first line.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/mw-to-git/git-remote-mediawiki