-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
lazygit is very slow under windows
To Reproduce
- open powershell in windows terminal
- cd a git folder
- open lazygit in the current foler
Expected behavior
Each operation takes a few seconds
Screenshots
If applicable, add screenshots to help explain your problem.
Version info:
lazygit version:
commit=71ad3fac63a3ef3326021837b49e9497d332818b, build date=2024-07-13T10:24:19Z, build source=binaryRelease, version=0.43.1, os=windows, arch=amd64, git version=2.46.0.windows.1
git version:
git version 2.46.0.windows.1
Additional context
lazygit log:
Tailing log file C:\Users\wuruq\AppData\Local\lazygit\development.log
Sep 8 22:47:56 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:47:56 |DEBU| RunCommand command="git for-each-ref --sort=-committerdate --format=%(HEAD)%00%(refname:short)%00%(upstream:short)%00%(upstream:track)%00%(push:track)%00%(subject)%00%(objectname)%00%(committerdate:unix) refs/heads"
Sep 8 22:47:56 |INFO| git for-each-ref --sort=-committerdate --format=%(HEAD)%00%(refname:short)%00%(upstream:short)%00%(upstream:track)%00%(push:track)%00%(subject)%00%(objectname)%00%(committerdate:unix) refs/heads (60.7646ms)
Sep 8 22:47:57 |DEBU| RunCommand command="git worktree list --porcelain"
Sep 8 22:47:57 |INFO| git worktree list --porcelain (55.7916ms)
Sep 8 22:47:57 |DEBU| RunCommand command="git -C F:/wintile rev-parse --path-format=absolute --absolute-git-dir"
Sep 8 22:47:57 |INFO| git -C F:/wintile rev-parse --path-format=absolute --absolute-git-dir (57.8029ms)
Sep 8 22:47:57 |INFO| postRefreshUpdate for worktrees took 0s
Sep 8 22:47:57 |INFO| postRefreshUpdate for localBranches took 0s
Sep 8 22:47:57 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:03 |INFO| Heap memory in use: 4.5 MB
Sep 8 22:48:03 |INFO| refreshing the following scopes in sync mode: files
Sep 8 22:48:03 |INFO| refreshed merge conflicts in 0s
Sep 8 22:48:03 |DEBU| using cache for key status.showUntrackedFiles
Sep 8 22:48:03 |DEBU| RunCommand command="git status --untracked-files=all --porcelain -z --find-renames=50%"
Sep 8 22:48:03 |INFO| git status --untracked-files=all --porcelain -z --find-renames=50% (64.936ms)
Sep 8 22:48:03 |INFO| refreshed files in 289.0936ms
Sep 8 22:48:03 |INFO| Refresh took 289.0936ms
Sep 8 22:48:03 |INFO| postRefreshUpdate for submodules took 0s
Sep 8 22:48:03 |INFO| postRefreshUpdate for files took 0s
Sep 8 22:48:11 |INFO| Receiving focus - refreshing
Sep 8 22:48:11 |INFO| refreshing all scopes in async mode
Sep 8 22:48:11 |INFO| Refresh took 512.4µs
Sep 8 22:48:11 |DEBU| using cache for key status.showUntrackedFiles
Sep 8 22:48:13 |DEBU| RunCommand command="git rev-parse --abbrev-ref --verify HEAD"
Sep 8 22:48:13 |DEBU| RunCommand command="git status --untracked-files=all --porcelain -z --find-renames=50%"
Sep 8 22:48:13 |DEBU| RunCommand command="git tag --list -n --sort=-creatordate"
Sep 8 22:48:13 |DEBU| RunCommand command="git stash list -z --pretty=%ct|%gs"
Sep 8 22:48:14 |DEBU| RunCommand command="git for-each-ref --sort=-committerdate --format=%(HEAD)%00%(refname:short)%00%(upstream:short)%00%(upstream:track)%00%(push:track)%00%(subject)%00%(objectname)%00%(committerdate:unix) refs/heads"
Sep 8 22:48:14 |DEBU| RunCommand command="git merge-base master master@{u}"
Sep 8 22:48:14 |DEBU| RunCommand command="git merge-base HEAD refs/remotes/origin/master"
Sep 8 22:48:14 |INFO| git for-each-ref --sort=-committerdate --format=%(HEAD)%00%(refname:short)%00%(upstream:short)%00%(upstream:track)%00%(push:track)%00%(subject)%00%(objectname)%00%(committerdate:unix) refs/heads (75.4511ms)
Sep 8 22:48:14 |INFO| git merge-base master master@{u} (79.5838ms)
Sep 8 22:48:14 |INFO| git merge-base HEAD refs/remotes/origin/master (76.6252ms)
Sep 8 22:48:14 |INFO| git log HEAD --topo-order --oneline --pretty=format:%H%x00%at%x00%aN%x00%ae%x00%D%x00%p%x00%m%x00%s --abbrev=40 -300 --no-show-signature -- (80.7007ms)
Sep 8 22:48:14 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:14 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:14 |DEBU| RunCommand command="git status --untracked-files=all --porcelain -z --find-renames=50%"
Sep 8 22:48:14 |INFO| postRefreshUpdate for commits took 338.6276ms
Sep 8 22:48:14 |INFO| git worktree list --porcelain (53.3926ms)
Sep 8 22:48:14 |DEBU| RunCommand command="git -C F:/wintile rev-parse --path-format=absolute --absolute-git-dir"
Sep 8 22:48:14 |INFO| git -C F:/wintile rev-parse --path-format=absolute --absolute-git-dir (52.3302ms)
Sep 8 22:48:14 |INFO| postRefreshUpdate for worktrees took 0s
Sep 8 22:48:14 |INFO| postRefreshUpdate for localBranches took 0s
Sep 8 22:48:14 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:14 |DEBU| RunCommand command="git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 1aa51c3ff92ec35d9887a4e9065afe19ae705931 --find-renames=50%"
Sep 8 22:48:15 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:15 |DEBU| RunCommand command="git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 10ee76a5aeff3be041209b2c526adecf8fdbb7fd --find-renames=50%"
Sep 8 22:48:15 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:15 |DEBU| RunCommand command="git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 4d8963e0f0c757c27d1ee4f5cff1f9e0d649aeb3 --find-renames=50%"
Sep 8 22:48:15 |ERRO| Unexpected error when running cmd task: exit status 1; Failed command: C:\Program Files\Git\cmd\git.exe [git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 10ee76a5aeff3be041209b2c526adecf8fdbb7fd --find-renames=50%]
Sep 8 22:48:23 |INFO| refreshing the following scopes in sync mode: files
Sep 8 22:48:23 |INFO| Heap memory in use: 5.2 MB
Sep 8 22:48:23 |INFO| refreshed merge conflicts in 0s
Sep 8 22:48:23 |DEBU| using cache for key status.showUntrackedFiles
Sep 8 22:48:23 |DEBU| RunCommand command="git status --untracked-files=all --porcelain -z --find-renames=50%"
Sep 8 22:48:23 |INFO| git status --untracked-files=all --porcelain -z --find-renames=50% (66.814ms)
Sep 8 22:48:23 |INFO| refreshed files in 286.2181ms
Sep 8 22:48:23 |INFO| Refresh took 286.928ms
Sep 8 22:48:23 |INFO| postRefreshUpdate for submodules took 0s
Sep 8 22:48:23 |INFO| postRefreshUpdate for files took 0s
Sep 8 22:48:33 |INFO| refreshed files in 274.0768ms
Sep 8 22:48:33 |INFO| Refresh took 274.0768ms
Sep 8 22:48:33 |INFO| postRefreshUpdate for submodules took 0s
Sep 8 22:48:33 |INFO| postRefreshUpdate for files took 0s
Sep 8 22:48:33 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:33 |DEBU| RunCommand command="git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 10ee76a5aeff3be041209b2c526adecf8fdbb7fd --find-renames=50%"
Sep 8 22:48:33 |ERRO| Unexpected error when running cmd task: exit status 1; Failed command: C:\Program Files\Git\cmd\git.exe [git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 4d8963e0f0c757c27d1ee4f5cff1f9e0d649aeb3 --find-renames=50%]
Sep 8 22:48:34 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:34 |DEBU| RunCommand command="git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 1aa51c3ff92ec35d9887a4e9065afe19ae705931 --find-renames=50%"
Sep 8 22:48:34 |ERRO| Unexpected error when running cmd task: exit status 1; Failed command: C:\Program Files\Git\cmd\git.exe [git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 10ee76a5aeff3be041209b2c526adecf8fdbb7fd --find-renames=50%]
Sep 8 22:48:37 |DEBU| RunCommand command="git fetch --all --no-write-fetch-head"
Sep 8 22:48:40 |INFO| git fetch --all --no-write-fetch-head (2.5930342s)
Sep 8 22:48:40 |INFO| refreshing the following scopes in async mode: branches,commits,remotes,tags
Sep 8 22:48:40 |INFO| Refresh took 0s
Sep 8 22:48:41 |DEBU| RunCommand command="git tag --list -n --sort=-creatordate"
Sep 8 22:48:41 |DEBU| RunCommand command="git rev-parse --abbrev-ref --verify HEAD"
Sep 8 22:48:41 |INFO| git tag --list -n --sort=-creatordate (71.8066ms)
Sep 8 22:48:41 |INFO| postRefreshUpdate for tags took 0s
Sep 8 22:48:41 |INFO| git for-each-ref --sort=refname --format=%(refname:short) refs/remotes (70.3805ms)
Sep 8 22:48:41 |INFO| postRefreshUpdate for remotes took 0s
Sep 8 22:48:41 |INFO| postRefreshUpdate for remoteBranches took 0s
Sep 8 22:48:41 |INFO| git rev-parse --abbrev-ref --verify HEAD (72.8122ms)
Sep 8 22:48:41 |INFO| git -c log.showSignature=false log -g --abbrev=40 --format=%h%x00%ct%x00%gs%x00%p (78.2653ms)
Sep 8 22:48:41 |INFO| postRefreshUpdate for reflogCommits took 522.3µs
Sep 8 22:48:41 |INFO| git log HEAD --topo-order --oneline --pretty=format:%H%x00%at%x00%aN%x00%ae%x00%D%x00%p%x00%m%x00%s --abbrev=40 -300 --no-show-signature -- (78.9498ms)
Sep 8 22:48:41 |INFO| git merge-base HEAD refs/remotes/origin/master (73.7188ms)
Sep 8 22:48:41 |INFO| git merge-base master master@{u} (74.954ms)
Sep 8 22:48:41 |INFO| git for-each-ref --sort=-committerdate --format=%(HEAD)%00%(refname:short)%00%(upstream:short)%00%(upstream:track)%00%(push:track)%00%(subject)%00%(objectname)%00%(committerdate:unix) refs/heads (75.9908ms)
Sep 8 22:48:41 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:41 |INFO| postRefreshUpdate for localBranches took 0s
Sep 8 22:48:41 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:42 |INFO| postRefreshUpdate for commits took 188.896ms
Sep 8 22:48:42 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:42 |DEBU| RunCommand command="git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 1aa51c3ff92ec35d9887a4e9065afe19ae705931 --find-renames=50%"
Sep 8 22:48:43 |INFO| Heap memory in use: 5.4 MB
Sep 8 22:48:43 |INFO| refreshing the following scopes in sync mode: files
Sep 8 22:48:43 |INFO| refreshed merge conflicts in 0s
Sep 8 22:48:43 |DEBU| using cache for key status.showUntrackedFiles
Sep 8 22:48:43 |INFO| postRefreshUpdate for submodules took 0s
Sep 8 22:48:43 |INFO| postRefreshUpdate for files took 0s
Sep 8 22:48:44 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:44 |DEBU| RunCommand command="git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 10ee76a5aeff3be041209b2c526adecf8fdbb7fd --find-renames=50%"
Sep 8 22:48:44 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:44 |DEBU| RunCommand command="git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 4d8963e0f0c757c27d1ee4f5cff1f9e0d649aeb3 --find-renames=50%"
Sep 8 22:48:44 |DEBU| using cache for key rebase.updateRefs
Sep 8 22:48:44 |DEBU| RunCommand command="git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 5521c13a8fd9511615faf05d83d20e84010cb86f --find-renames=50%"
Sep 8 22:48:44 |ERRO| Unexpected error when running cmd task: exit status 1; Failed command: C:\Program Files\Git\cmd\git.exe [git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 10ee76a5aeff3be041209b2c526adecf8fdbb7fd --find-renames=50%]
Sep 8 22:48:44 |ERRO| Unexpected error when running cmd task: exit status 1; Failed command: C:\Program Files\Git\cmd\git.exe [git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 4d8963e0f0c757c27d1ee4f5cff1f9e0d649aeb3 --find-renames=50%]
Sep 8 22:48:47 |ERRO| Unexpected error when running cmd task: exit status 1; Failed command: C:\Program Files\Git\cmd\git.exe [git -C F:/wintile -c diff.noprefix=false show --no-ext-diff --submodule --color=always --unified=3 --stat --decorate -p 5521c13a8fd9511615faf05d83d20e84010cb86f --find-renames=50%]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working