mailinfo: with -b, keep space after [foo]
authorThomas Rast <trast@student.ethz.ch>
Mon, 16 Jan 2012 10:53:01 +0000 (11:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jan 2012 00:06:57 +0000 (16:06 -0800)
The logic for the -b mode, where [PATCH] is dropped but [foo] is not,
silently ate all spaces after the ].

Fix this by keeping the next isspace() character, if there is any.
Being more thorough is pointless, as the later cleanup_space() call
will normalize any sequence of whitespace to a single ' '.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found