From 68b5542cdbae8b833d6578dc3859aeebbbb96286 Mon Sep 17 00:00:00 2001
From: Orgad Shaneh <orgad.shaneh@audiocodes.com>
Date: Sun, 11 Aug 2013 11:31:55 +0300
Subject: [PATCH] Git: Show success message when command ends

Change-Id: I501c69df2a436d90270a6c2543c3e286bafef427
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
---
 src/plugins/git/gitclient.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp
index 5ab81654440..b80b186c718 100644
--- a/src/plugins/git/gitclient.cpp
+++ b/src/plugins/git/gitclient.cpp
@@ -2224,6 +2224,7 @@ VcsBase::Command *GitClient::createCommand(const QString &workingDirectory,
         connect(command, SIGNAL(finished(bool,int,QVariant)), editor, SLOT(commandFinishedGotoLine(bool,int,QVariant)));
     if (useOutputToWindow) {
         command->addFlags(VcsBasePlugin::ShowStdOutInLogWindow);
+        command->addFlags(VcsBasePlugin::ShowSuccessMessage);
         if (editor) // assume that the commands output is the important thing
             command->addFlags(VcsBasePlugin::SilentOutput);
     } else if (editor) {
-- 
GitLab