mailinfo: off-by-one fix for [PATCH (foobar)] removal from Subject: line
authorJunio C Hamano <gitster@pobox.com>
Thu, 17 Jul 2008 05:42:04 +0000 (22:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Jul 2008 05:42:04 +0000 (22:42 -0700)
commit1e102bf7c83281944ffd9202a7d35c514e4a5644
treed7bcd889fc3e43e3a4637c5647a9887ed1b46b8f
parent3bf0dd1f4e75ee1591169b687ce04dff00ae2e3e
mailinfo: off-by-one fix for [PATCH (foobar)] removal from Subject: line

A patch title "[PATCH] 1" was sanitized by the original code by stripping
the "[PATCH]" from the front, but after the conversion to use strbuf this
behaviour was broken due to a counting error.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-mailinfo.c