From: Sergey Matveev Date: Mon, 20 Jul 2015 08:01:08 +0000 (+0300) Subject: Ability to create review comments only with main message X-Git-Tag: 0.2~2 X-Git-Url: http://www.git.stargrave.org/?p=gerrvim.git;a=commitdiff_plain;h=ad5587c7f81c2a3cdb34c10564cb3528533fb860 Ability to create review comments only with main message --- diff --git a/gerrvim2json.pl b/gerrvim2json.pl index 79566e0..0119be6 100755 --- a/gerrvim2json.pl +++ b/gerrvim2json.pl @@ -68,7 +68,8 @@ while (<>) { $verbatim_block = 0; }; }; -comment_done; +comment_done if defined $filename; +($main_message = buf2str) if !$blockn; my %result = (comments => \%comments); ($result{message} = $main_message) if $main_message;