Fix prepare-commit-msg hook and replace in-place sed
commit4be1fe1b944e568f47efcb9d1beb8639f50b723f
authorMarcel Koeppen <git-dev@marzelpan.de>
Wed, 21 May 2008 16:25:54 +0000 (21 18:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 May 2008 16:45:53 +0000 (21 09:45 -0700)
tree5d33d7b787b274a627bdc9bd5113e1760ccd96ed
parent69239728238c8ec6296d94c4cd7490161f4c89b2
Fix prepare-commit-msg hook and replace in-place sed

The patterns to the case statement could never be matched, so the hook
was a noop. This patch also replaces the non-portable use of in-place sed.

Signed-off-by: Marcel Koeppen <git-dev@marzelpan.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
templates/hooks--prepare-commit-msg