Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posh-git can cause problems with Git LFS #984

Open
adaviding opened this issue Jan 11, 2025 · 1 comment
Open

posh-git can cause problems with Git LFS #984

adaviding opened this issue Jan 11, 2025 · 1 comment

Comments

@adaviding
Copy link

adaviding commented Jan 11, 2025

System Details

  • posh-git version/path: 0.7.3.1
  • PowerShell version: 5.1.26100.2161
  • Git version: 2.47.1.windows.1
  • Git LFS version: git-lfs/3.6.0
  • Operating system name and version: Windows 11 Pro for Workstations, 24H2, 26100.2605, 10.0.26100

Issue Description

In specific cases (for some git repos with specific file contents), Git LFS will freeze when used. This only happens when you execute commands from powershell while poshgit is installed.

The following is a perfect repro on my machine. Ensure that git lfs is installed (git lfs install). Pull down and unzip the repo_folder.zip from this gfolder.

Using powershell with poshgit installed, execute the following:

cd repo_folder
git init
git add *

You will notice that the command always hangs.

Upon further inspection with Sysinternals Process Explorer, you can see that git-lfs.exe is basically running (forever). If you go to Find / Find Handle or DLL ... and search for repo_folder, you will see that git-lfs.exe appears to be stuck while working on a specific file.

@adaviding
Copy link
Author

This is related to another issue: #958

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant