A wrong '}' made our code record the results of mergetag signature
verification incorrectly.

Fix it.

Signed-off-by: Michael J Gruber <g...@drmicha.warpmail.net>
---
This is the "color fix"...

 log-tree.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/log-tree.c b/log-tree.c
index 10e6844..fdea358 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -453,9 +453,9 @@ static void show_one_mergetag(struct rev_info *opt,
                                         &verify_message, NULL)) {
                        if (verify_message.len <= gpg_message_offset)
                                strbuf_addstr(&verify_message, "No 
signature\n");
-                       else
-                               status = 0;
                }
+               else
+                       status = 0;
 
        show_sig_lines(opt, status, verify_message.buf);
        strbuf_release(&verify_message);
-- 
2.0.1.563.g162087b.dirty

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to