forked from qt-creator/qt-creator
Git: Show success message after reset
Change-Id: Icbc731b9b529095e2b8fe0774bfd7eac6455da26 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
698f59caa0
commit
a87481c5ec
@@ -1208,7 +1208,7 @@ void GitClient::reset(const QString &workingDirectory, const QString &argument,
|
||||
if (!commit.isEmpty())
|
||||
arguments << commit;
|
||||
|
||||
unsigned flags = 0;
|
||||
unsigned flags = VcsCommand::ShowSuccessMessage;
|
||||
if (argument == "--hard") {
|
||||
if (gitStatus(workingDirectory, StatusMode(NoUntracked | NoSubmodules)) != StatusUnchanged) {
|
||||
if (QMessageBox::question(
|
||||
|
||||
Reference in New Issue
Block a user