dahlbyk / posh-git

A PowerShell environment for Git
http://dahlbyk.github.io/posh-git/
MIT License
7.62k stars 802 forks source link

posh-git is slow when navigating inside a Git LFS-enabled repository containing multiple gigabyte-sized files. #958

Open tommai78101 opened 1 year ago

tommai78101 commented 1 year ago

System Details

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.