Re: git status --porcelain error?

René J.V. Bertin <[email protected]>
Newsgroups gmane.comp.kde.users.kdevelop
Message-ID <2002650.gup546CJko@bola>
On Monday January 9 2017 12:46:16 Kevin Funk wrote:

>I don't think that's necessary. Showing the git output as-is is already quite 
>verbose.

I was thinking about something like this:

@@ -244,8 +244,8 @@ void DVcsJob::slotProcessError( QProcess::ProcessError err )
     qCDebug(VCS) << "Found an error while running" << displayCommand << ":" << errorValue
                                                      << "Exit code is:" << d->childproc->exitCode();
     qCDebug(VCS) << "Error:" << completeErrorText;
-    displayOutput(QString::fromLocal8Bit(d->errorOutput));
-    d->model->appendLine(i18n("Command finished with error %1.", errorValue));
+//     displayOutput(QString::fromLocal8Bit(d->errorOutput));
+    d->model->appendLine(i18n("%1 (%2).", completeErrorText, errorValue));
 
     if(verbosity()==Silent) {
         setVerbosity(Verbose);

>What /could/ make sense is to elaborate what `FailedToStart` means for the 
>user...

Yeah, but that's not going to tell *me* anything. I don't need hints what the error means but why it happens ;)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.