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 is slow when navigating inside a Git LFS-enabled repository containing multiple gigabyte-sized files. #958

Open
tommai78101 opened this issue Aug 20, 2023 · 0 comments

Comments

@tommai78101
Copy link

System Details

  • posh-git version/path: 1.1.0 D:\Documents\PowerShell\Modules\posh-git\1.1.0
  • PowerShell version: 7.3.6
  • git version 2.41.0.windows.3
  • OS: Microsoft Windows NT 10.0.22621.0

Issue Description

I have cloned a Git LFS repository, which consists of 2 files, both 7.24GB large. When navigating to this cloned repository, posh-git takes a long time to respond to user inputs after pressing Enter key.

Steps to reproduce, using one of the HuggingFace models available for cloning:

  1. Navigate to this repository: https://huggingface.co/line-corporation/japanese-large-lm-3.6b
  2. Do a clone of this repository:
    a. Run the command: git lfs install
    b. Run the command after LFS is initialized: git clone https://huggingface.co/line-corporation/japanese-large-lm-3.6b
  3. In PowerShell, with posh-git module enabled, navigate to the directory of the cloned repository.
  4. Observe the delay of waiting for posh-git to finish.

Thanks.

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