From: Junio C Hamano Date: Wed, 21 Sep 2016 15:34:09 +0000 (-0700) Subject: Meta/Reintegrate: find the branch name literally in "What's cooking" reort X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60febec4c70f4f4a2fdff3b1ba80882938e2441b;p=thirdparty%2Fgit.git Meta/Reintegrate: find the branch name literally in "What's cooking" reort It is kind of surprising but this week I named a topic name with '+' in it for the first time, and for that branch the pattern did not match and failed to annotate it with the description. --- diff --git a/Reintegrate b/Reintegrate index b4a64fb275..34ba795c82 100755 --- a/Reintegrate +++ b/Reintegrate @@ -42,7 +42,7 @@ annotate_merge () { my @msg = (); while (<$fh>) { chomp; - if (/^\* $branch /) { + if (/^\* \Q$branch\E /) { $in_section = 1; next; }