Search code examples
pycharmgit-history

How to make Pycharm show all git commit history for subfolders?


Since some point (probably update) Pycharm stopped showing git history for one of project subfolders.

Question

Does it have a functionality to enable all commit history for my sub-folder?

I tried to check some options in:

File -> Settings -> Version Control -> Git

But it did not help

Also, I checked different options from Git Log context menu, also no result. I see commits for two days only but commits to this folder are done for at least during one month. Is this a bug after update? Is some functionality available for such case, like restoring history?

PyCharm version

PyCharm 2021.1 (Community Edition)
Build #PC-211.6693.115, built on April 6, 2021
Runtime version: 11.0.10+9-b1341.35 amd64
VM: Dynamic Code Evolution 64-Bit Server VM by JetBrains s.r.o.
Linux 5.8.0-48-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1917M
Cores: 8
Non-Bundled Plugins: PerforceIC (0.11.2), Docker (211.6693.111)
Current Desktop: ubuntu:GNOME

Git commit history example

Sorry,I had to blur some text.


Solution

  • I managed to see the whole history for my sub-folder after:

    • Clicking File
    • Invalidate Caches
    • Check 'Clear downloaded shared indexes'
    • Invalidate and Restart.

    enter image description here

    I think this issue was connected to IDE update.