]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/Reintegrate: find the branch name literally in "What's cooking" reort
authorJunio C Hamano <gitster@pobox.com>
Wed, 21 Sep 2016 15:34:09 +0000 (08:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Sep 2016 15:34:09 +0000 (08:34 -0700)
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.

Reintegrate

index b4a64fb2753db7ec33a2542fd44ac25cc3125848..34ba795c82c4072f2a8850dac439bdd0bc101ce5 100755 (executable)
@@ -42,7 +42,7 @@ annotate_merge () {
                        my @msg = ();
                        while (<$fh>) {
                                chomp;
-                               if (/^\* $branch /) {
+                               if (/^\* \Q$branch\E /) {
                                        $in_section = 1;
                                        next;
                                }