Compare with same repository version not working (git)

已回答

phpstorm 2018.1.6

This only happens on one of two similar git repos.

If I make a change to a local file the Git / Compare with same repository version does nothing. I can see the diff if I show Version Control / Local changes and click refresh, then show diff on the file - but not directly from the editor pane for that file. git status also correctly reports.

This used to work until very recently, but I can't figure out what has changed.

 

 

0

Please check if the issue persists after caches invalidation (File | Invalidate Caches / Restart).
If it does, please share the IDE log after reproducing the issue.
https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files

0
Avatar
Permanently deleted user

Thanks Eugene - invalidating the caches fixed this issue.

0

请先登录再写评论。