zielu / GitToolBox

GitToolBox IntelliJ plugin
GNU General Public License v3.0
604 stars 71 forks source link

[BUG] Auto-fetch error (git executable issue) #433

Closed hassanrazmy closed 1 year ago

hassanrazmy commented 1 year ago

Describe the bug Whenever I turn this plugin on in my PHPStorm, it gives me the error visible in the screenshot given below.

Plugin version 213.10.2

IDE version PHP Storm 2021.2.1

Screenshot https://www.screencast.com/t/ZO9rO5Mjb3

zielu commented 1 year ago

Hi, looks like issue with your Git configuration. First try running this action: 'Git / Fetch' it should also fail. If so look into Settings / Version Contol / Git and verify if executable actually exists.

zielu commented 1 year ago

But it looks like git error handling needs some improvement too.

hassanrazmy commented 1 year ago

Basically, I am using Tower App for the git related tasks. The plugin was mainly used to see who worked on any specific line which was very helpful. Now, it is not working at all on my end.

zielu commented 1 year ago

The issue with with you local config - I mean you can disable autofetch but you still need working git executable to invoke blame

zielu commented 1 year ago

Just try the steps I posted earlier

hassanrazmy commented 1 year ago

The Git executable doesn't exist. It asked me to install the command line tool I am doing now. It doesn't consider. I will share the progress shortly.

hassanrazmy commented 1 year ago

After the download, it works fine. Problem was on my end.

Thank you for the guidance mate :)