sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

UI freezes when opening large repository

Open Deaod opened this issue 6 months ago • 1 comments

Version info

  • OS: Microsoft Windows [Version 10.0.19045.4651]
  • Build: 2096
  • git: git version 2.45.0.vfs.0.0

Description

UI freezes after opening repository, updates to show all files as staged, then freezes again

Steps to reproduce

Steps to reproduce the behavior:

  1. Clone repository like so:
    1. scalar clone -b "main" --no-src "<repository>" "D:\WS\main" -> Your branch is up to date with 'origin/main'.
    2. pushd "D:\WS\main"
    3. git lfs install -> Git LFS initialized.
    4. git sparse-checkout set --cone --no-sparse-index [...] ->
Receiving packfile 76/76 with 3044 objects (bytes received): 10323864, done.
Updating files: 100% (351729/351729), done.
Filtering content: 100% (30110/30110), 27.96 GiB | 117.97 MiB/s, done.
  1. Open repository in SublimeMerge

Expected behavior

I expected the UI to not become effectively unusable.

Debug Information I grabbed the debug information immediately after opening SublimeMerge, before the Stages Files were evaluated.

=== App Version Information ===
Build: 2096

=== Git Version Information ===
Using Git: C:\Program Files\Git\bin\git.exe (custom)
git version 2.45.0.vfs.0.0
PATH: [SNIP]

=== Browse Page Information ===
HEAD: fe7e09faf86b9d469a5baaaa97c615d1115ab108
Is in merge: 0
Is in cherry_pick: 0
Is in rebase: 0
Is in revert: 0

=== Git Status Information ===

=== Our Status Information ===

=== Git Config Information ===
am.keepcr=true
branch.main.merge=refs/heads/main
branch.main.remote=origin
commitgraph.generationversion=1
core.autocrlf=false
core.bare=false
core.configwritelocktimeoutms=150
core.editor=notepad
core.filemode=false
core.fscache=true
core.fsmonitor=true
core.gvfs=150
core.hookspath=[SNIP]
core.ignorecase=true
core.logallrefupdates=true
core.multipackindex=true
core.preloadindex=true
core.repositoryformatversion=0
core.safecrlf=false
core.sparsecheckout=true
core.sparsecheckoutcone=true
core.symlinks=false
core.untrackedcache=true
core.usegvfshelper=true
credential.helper=manager
credential.https://dev.azure.com.usehttppath=true
credential.https://[SNIP].provider=generic
credential.validate=false
diff.astextplain.textconv=astextplain
extensions.worktreeconfig=true
feature.experimental=false
feature.manyfiles=false
fetch.showforcedupdates=false
fetch.unpacklimit=1
fetch.writecommitgraph=false
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
filter.lfs.smudge=git-lfs smudge -- %f
gc.auto=0
gui.gcwarning=false
gvfs.sharedcache=D:\.scalarCache/id_c36e4d4d-aadd-44cc-9fec-b989e678a2e7
http.sslbackend=schannel
http.version=HTTP/1.1
index.skiphash=false
index.sparse=false
index.threads=true
index.version=4
init.defaultbranch=main
lfs.https://[SNIP].git/info/lfs.access=negotiate
lfs.https://[SNIP]/info/lfs/objects/.access=negotiate
lfs.repositoryformatversion=0
log.excludedecoration=refs/prefetch/*
maintenance.auto=false
maintenance.repo=D:/WS/main
maintenance.strategy=incremental
merge.renames=true
merge.stat=false
pack.usebitmaps=false
pack.usesparse=true
pull.rebase=true
receive.autogc=false
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=https://[SNIP]
safe.directory=D:\WS\main
scalar.repo=D:/WS/main
status.aheadbehind=false
user.email=[SNIP]
user.name=[SNIP]

=== Our Config Information ===
Git Config Path Information
Using config path: /C/ProgramData/Git/config
Using config path: /C/Program Files/Git/etc/gitconfig
Using config path: /C/Users/[SNIP]/.config/git/config
Using config path: /C/Users/[SNIP]/.gitconfig
Using config path: /D/WS/main/.git/config

Our config output is different to the Git config output
am.keepcr=true
branch.main.merge=refs/heads/main
branch.main.remote=origin
color.branch=auto
color.diff=auto
color.interactive=true
color.status=auto
commitgraph.generationversion=1
core.autocrlf=false
core.bare=false
core.configwritelocktimeoutms=150
core.editor=notepad
core.filemode=false
core.fscache=true
core.fsmonitor=true
core.gvfs=150
core.hookspath=[SNIP]
core.ignorecase=true
core.logallrefupdates=true
core.multipackindex=true
core.preloadindex=true
core.repositoryformatversion=0
core.safecrlf=false
core.symlinks=false
core.untrackedcache=true
core.usegvfshelper=true
credential.helper=manager
credential.https://dev.azure.com.usehttppath=true
credential.https://[SNIP].provider=generic
credential.validate=false
diff.astextplain.textconv=astextplain
extensions.worktreeconfig=true
feature.experimental=false
feature.manyfiles=false
fetch.showforcedupdates=false
fetch.unpacklimit=1
fetch.writecommitgraph=false
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
filter.lfs.smudge=git-lfs smudge -- %f
gc.auto=0
gui.gcwarning=false
gvfs.sharedcache=D:\.scalarCache/id_c36e4d4d-aadd-44cc-9fec-b989e678a2e7
help.format=html
http.sslbackend=schannel
http.version=HTTP/1.1
index.skiphash=false
index.threads=true
index.version=4
init.defaultbranch=main
lfs.https://[SNIP].git/info/lfs.access=negotiate
lfs.https://[SNIP]/info/lfs/objects/.access=negotiate
lfs.repositoryformatversion=0
log.excludedecoration=refs/prefetch/*
maintenance.auto=false
maintenance.repo=D:/WS/main
maintenance.strategy=incremental
merge.renames=true
merge.stat=false
pack.usebitmaps=false
pack.usesparse=true
pull.rebase=true
rebase.autosquash=true
receive.autogc=false
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=https://[SNIP]
safe.directory=D:\WS\main
scalar.repo=D:/WS/main
status.aheadbehind=false
user.email=[SNIP]
user.name=[SNIP]

=== Git Attributes Information ===
git check_attr --all output

=== Our Modified Files Newline Normalisation and EOL Information ===

=== Our Modified Files Flag Information ===
Ignoring symlinks: 1

Screenshots

Freezes on this for a while (i presume its loading data in the background): image

After presumably loading data it reaches this state: image Any Interaction after this will freeze the UI again without ever progressing.

Deaod avatar Aug 14 '24 13:08 Deaod