git status --porcelain error?

Kevin Funk kfunk at kde.org
Thu Dec 29 16:43:49 UTC 2016


On Wednesday, 28 December 2016 11:19:28 CET René J.V. Bertin wrote:
> Hi,
> 
> I've begun seeing an error or warning on my Linux system that appears in the 
version control toolview, after certain git operations but sometimes also when 
I try to do a git operation (a priori via the in-document context menu):
> > Command finished with error FailedToStart.
> > /opt/local/site-ports> git status --porcelain -- /opt/local/site-ports
> 
> That command completes without issues when I execute it myself in the
> indicated directory.

Please debug.

The error message comes from dvcsjob.cpp in kdevplatform.git:
  DVcsJob::slotProcessError( QProcess::ProcessError err )

FailedToStart means [1]:
  "The process failed to start. Either the invoked program is missing, or you 
may have insufficient permissions to invoke the program."

HTH,
Kevin

PS: Haven't seen this issue myself (or in bug reports).

[1] http://doc.qt.io/qt-5/qprocess.html#ProcessError-enum

> Any idea what this means? Can I just ignore it? Not entirely it would seem:
> when it occurs via the in-document context menu it usually means the
> intended operation indeed failed or was never executed because the git
> status command failed. The few times this happened to me I could achieve
> the intended result through the equivalent context menu in the project
> manager.
> 
> Thanks,
> R.


-- 
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20161229/25acf7b1/attachment.sig>


More information about the KDevelop mailing list