diff options
| author | Thomas Rast <trast@student.ethz.ch> | 2012-01-16 11:53:01 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2012-01-16 16:06:57 -0800 |
| commit | ee2d1cb402a7ccda0028b221f2252801b3cb7eef (patch) | |
| tree | d2b20ac5795f6a85820a672c397389d5ac6a64d0 /commit.c | |
| parent | am: learn passing -b to mailinfo (diff) | |
| download | git-ee2d1cb402a7ccda0028b221f2252801b3cb7eef.tar.gz git-ee2d1cb402a7ccda0028b221f2252801b3cb7eef.zip | |
mailinfo: with -b, keep space after [foo]
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>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
