Show history on project root is not working

I have a problem with showing git history for the entire project. Everything works fine if I use this option on any subdirectory, but when I try to show history on project root it shows an error: Commit 0 not found

I've checked logs and here is what I've found:

2019-01-16 11:42:25,895 [3470349] ERROR - log.visible.VcsLogFiltererImpl - fatal: ../../../my-root-directory: '../../../my-root-directory' is outside repository

Command line: [git -c core.quotepath=false -c log.showSignature=false log --pretty=format:%x01%x01%H%x02%x02%P%x02%x02%ct%x02%x02%an%x02%x02%ae%x02%x02%d%x03%x03 --encoding=UTF-8 --decorate=full HEAD --extended-regexp --regexp-ignore-case --max-count=2000 --full-history --simplify-merges -- ../../../my-root-directory --]
com.intellij.openapi.vcs.VcsException: fatal: ../../../my-root-directory: '../../../my-root-directory' is outside repository

Command line: [git -c core.quotepath=false -c log.showSignature=false log --pretty=format:%x01%x01%H%x02%x02%P%x02%x02%ct%x02%x02%an%x02%x02%ae%x02%x02%d%x03%x03 --encoding=UTF-8 --decorate=full HEAD --extended-regexp --regexp-ignore-case --max-count=2000 --full-history --simplify-merges -- ../../../my-root-directory --]
at git4idea.history.GitLogOutputSplitter.processTerminated(GitLogOutputSplitter.java:96)
at sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.util.EventDispatcher.dispatchVoidMethod(EventDispatcher.java:133)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:25)
at com.intellij.util.EventDispatcher$3.invoke(EventDispatcher.java:96)
at com.sun.proxy.$Proxy120.processTerminated(Unknown Source)
at git4idea.commands.GitTextHandler$1.processTerminated(GitTextHandler.java:94)
at sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.execution.process.ProcessHandler$5.invoke(ProcessHandler.java:223)
at com.sun.proxy.$Proxy24.processTerminated(Unknown Source)
at com.intellij.execution.process.ProcessHandler$4.run(ProcessHandler.java:180)
at com.intellij.execution.process.ProcessHandler$TasksRunner.execute(ProcessHandler.java:256)
at com.intellij.execution.process.ProcessHandler.notifyTerminated(ProcessHandler.java:161)
at com.intellij.execution.process.ProcessHandler.notifyProcessTerminated(ProcessHandler.java:157)
at com.intellij.execution.process.KillableProcessHandler.notifyProcessTerminated(KillableProcessHandler.java:137)
at com.intellij.execution.process.BaseProcessHandler.onOSProcessTerminated(BaseProcessHandler.java:61)
at com.intellij.execution.process.OSProcessHandler.onOSProcessTerminated(OSProcessHandler.java:112)
at com.intellij.execution.process.BaseOSProcessHandler$1$1.consume(BaseOSProcessHandler.java:102)
at com.intellij.execution.process.BaseOSProcessHandler$1$1.consume(BaseOSProcessHandler.java:87)
at com.intellij.execution.process.ProcessWaitFor$1$1.run(ProcessWaitFor.java:65)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:229)
at com.intellij.execution.process.ProcessWaitFor$1.run(ProcessWaitFor.java:45)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2019-01-16 11:42:25,895 [3470349] ERROR - log.visible.VcsLogFiltererImpl - PhpStorm 2018.3 Build #PS-183.4284.150
2019-01-16 11:42:25,895 [3470349] ERROR - log.visible.VcsLogFiltererImpl - JDK: 1.8.0_152-release; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2019-01-16 11:42:25,895 [3470349] ERROR - log.visible.VcsLogFiltererImpl - OS: Windows 10
2019-01-16 11:42:25,895 [3470349] ERROR - log.visible.VcsLogFiltererImpl - Last Action: Vcs.ShowTabbedFileHistory
2019-01-16 11:42:29,856 [3474310] INFO - ide.actions.ShowFilePathAction -
Exit code 1

It seems that problem is with this part:

git log -- ../../../my-root-directory --

but I have no idea how to configure my IDE/project/GIT to fix it. It started to happen when I migrated my project files from one drive to another, so it's probably somehow connected.

Any ideas would be appreciated.

2 comments

I know that it does not sound like a solution but I did notice that you have 2018.3 version installed whereas 2018.3.3 build is already available.

Would it be possible to install it and check again?

0

Thank you for your reply. I updated my IDE and... it helped!

Strange thing but the most important - it works well now. Thanks!

0

Please sign in to leave a comment.