forked from qt-creator/qt-creator
Git: Show message on fetch success
Change-Id: Ibe9f020d21a0c5eee0ba044b99c62fb181fc173f Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
5a408f9db1
commit
ca108a84b9
@@ -2756,7 +2756,8 @@ void GitClient::fetch(const QString &workingDirectory, const QString &remote)
|
||||
{
|
||||
QStringList arguments(QLatin1String("fetch"));
|
||||
arguments << (remote.isEmpty() ? QLatin1String("--all") : remote);
|
||||
VcsCommand *command = vcsExec(workingDirectory, arguments, 0, true, 0, workingDirectory);
|
||||
VcsCommand *command = vcsExec(workingDirectory, arguments, 0, true,
|
||||
VcsCommand::ShowSuccessMessage, workingDirectory);
|
||||
connect(command, &VcsCommand::success, this, &GitClient::fetchFinished);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user