Git not working
Project is on the mounted drive of linux (Ubuntu) VM and my pc is on Windows. Command line git works fine. Any idea what can be cause of the problem. I'm using sshfs-win (https://github.com/billziss-gh/sshfs-win) to mount linux drive.
Log is
2020-02-11 12:07:29,862 [ 677676] INFO - #GitStatus - failed to stat '//sshfs/lsvalina@172.16.100.17/../../var/www/back': Function not implemented
com.intellij.openapi.vcs.VcsException: failed to stat '//sshfs/lsvalina@172.16.100.17/../../var/www/back': Function not implemented
at git4idea.commands.GitCommandResult.throwOnError(GitCommandResult.java:155)
at git4idea.commands.GitCommandResult.getOutputOrThrow(GitCommandResult.java:144)
at git4idea.status.GitChangesCollector.collectChanges(GitChangesCollector.java:187)
at git4idea.status.GitChangesCollector.<init>(GitChangesCollector.java:101)
at git4idea.status.GitChangesCollector.collect(GitChangesCollector.java:74)
at git4idea.status.GitChangeProvider.getChanges(GitChangeProvider.java:82)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.actualUpdate(ChangeListManagerImpl.java:668)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.iterateScopes(ChangeListManagerImpl.java:581)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.lambda$updateImmediately$13(ChangeListManagerImpl.java:488)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:163)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:585)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:531)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:150)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.updateImmediately(ChangeListManagerImpl.java:448)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.lambda$new$0(ChangeListManagerImpl.java:131)
at com.intellij.openapi.vcs.changes.UpdateRequestsQueue$MyRunnable.run(UpdateRequestsQueue.java:223)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:217)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:222)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:30)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:201)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:221)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:190)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
2020-02-11 12:07:29,863 [ 677677] INFO - .changes.ChangeListManagerImpl - failed to stat '//sshfs/lsvalina@172.16.100.17/../../var/www/back': Function not implemented
com.intellij.openapi.vcs.VcsException: failed to stat '//sshfs/lsvalina@172.16.100.17/../../var/www/back': Function not implemented
at git4idea.commands.GitCommandResult.throwOnError(GitCommandResult.java:155)
at git4idea.commands.GitCommandResult.getOutputOrThrow(GitCommandResult.java:144)
at git4idea.status.GitChangesCollector.collectChanges(GitChangesCollector.java:187)
at git4idea.status.GitChangesCollector.<init>(GitChangesCollector.java:101)
at git4idea.status.GitChangesCollector.collect(GitChangesCollector.java:74)
at git4idea.status.GitChangeProvider.getChanges(GitChangeProvider.java:82)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.actualUpdate(ChangeListManagerImpl.java:668)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.iterateScopes(ChangeListManagerImpl.java:581)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.lambda$updateImmediately$13(ChangeListManagerImpl.java:488)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:163)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:585)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:531)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:150)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.updateImmediately(ChangeListManagerImpl.java:448)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.lambda$new$0(ChangeListManagerImpl.java:131)
at com.intellij.openapi.vcs.changes.UpdateRequestsQueue$MyRunnable.run(UpdateRequestsQueue.java:223)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:217)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:222)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:30)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:201)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:221)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:190)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
2020-02-11 12:10:21,174 [ 848988] INFO - j.ide.actions.RevealFileAction -
Exit code 1
2020-02-11 12:10:22,264 [ 850078] INFO - rationStore.ComponentStoreImpl - Saving appWebServers took 18 ms, XDebuggerSettings took 24 ms
2020-02-11 12:16:29,900 [1217714] INFO - j.ide.actions.RevealFileAction -
Exit code 1
请先登录再写评论。
Usually, we do not recommend using any kind of network shares for handling your IDE projects.
Anyway, after checking the YouTrack portal, I was not able to find anything really similar to the issue that you are reporting.
Is there any other error messages in the log file? What version of IDE and Git are you using?
After further investigation I found out the problem is with git not with PhpStorm. Thank you for your time.