shortlog: do not crash on parsing "[PATCH"
commit72019cdefeb6b8fd7e8bff37b9c087302a45e29e
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sun, 19 Nov 2006 16:28:25 +0000 (19 17:28 +0100)
committerJunio C Hamano <junkio@cox.net>
Mon, 20 Nov 2006 06:59:05 +0000 (19 22:59 -0800)
treede3ca8ca0f4a62fef84288560ac31f686270ca83
parentb8ec59234ba2c1833e29eece9ed87f7a471cbae2
shortlog: do not crash on parsing "[PATCH"

Annoyingly, it looked for the closing bracket in the author name
instead of in the message, and then accessed the NULL pointer.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-shortlog.c