From 17b3e45b8cb86a72ff0208dbe28b47034c95921e Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 28 Feb 2019 09:01:15 +0200 Subject: VCS: Fix display of diff/show commands in progress bar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In 6ae0e8d2c7f5d1bb3d3240bdfba3cd68eb093252 we added 2 arguments that precede the diff sub-command (-c diff.color=false). When display name is not set, ShellCommand uses the binary followed by the first argument, so it now showed "Git -c" instead of "Git Diff". Change-Id: Ie584837bd87fd529e0cd015025fc3bf1a69d085c Reviewed-by: André Hartmann Reviewed-by: Xiaofeng Wang Reviewed-by: Tobias Hunger --- src/plugins/mercurial/mercurialclient.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/mercurial') diff --git a/src/plugins/mercurial/mercurialclient.cpp b/src/plugins/mercurial/mercurialclient.cpp index 4e3f6e37e35..f311d824c3f 100644 --- a/src/plugins/mercurial/mercurialclient.cpp +++ b/src/plugins/mercurial/mercurialclient.cpp @@ -68,6 +68,7 @@ protected: MercurialDiffEditorController::MercurialDiffEditorController(IDocument *document, const QString &workingDirectory): VcsBaseDiffEditorController(document, MercurialPlugin::client(), workingDirectory) { + setDisplayName("Hg Diff"); } void MercurialDiffEditorController::runCommand(const QList &args, QTextCodec *codec) -- cgit v1.2.3