Git actions are Hanging/Slow

Git actions are Hanging/Slow

Git for Windows

·

1 min read

We had a team member who had non-responsive git diff command on all his local repositories. This led us to think that it may have been a git config issue.

Initially when running git config --list this error popped up:

PS C:\Users\someuser> git config --list
      0 [main] less (1296) C:\Program Files\Git\usr\bin\less.exe: *** fatal error - add_item ("\??\C:\Program Files\Git", "/", ...) failed, errno 1
Stack trace:
Frame        Function    Args
000FFFFCD30  00210062B0E (0021029B0CA, 00210275E51, 0007FFEF000, 000FFFF8B30)
000FFFFCD30  0021004846A (00000000000, 000FFFFCD30, 00210020010, 000FFFFABF0)
000FFFFCD30  002100484A2 (000FFFF9BC0, 00000000001, 0007FFEF000, 00000000001)
000FFFFCD30  002100ED577 (00000000000, 00040000024, 00000000000, 000FFFFCC88)
000FFFFCD30  00210132BF5 (002100DC4B4, 00000000000, 000001F0001, 000FFFFCCA0)
000FFFFCD30  00210048AB8 (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0  00210047716 (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0  002100477C4 (00000000000, 00000000000, 00000000000, 00000000000)
End of stack trace

Comparing our configuration didn't show anything of concern. The editor was default vim also. The diff.tool was not set so it was using the default git-diff tool. We compared our installed git --version and I was on an older version and he was on 2.39.1.1.

After asking if he was on VPN or not, he said he was in the office, but then realized that he had the AWS VPN connected. Looks like that was the issue as none of the traffic was passed through to the web.

References