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

tig is slow to start in large repo #1290

Open
pkitszel opened this issue Jul 10, 2023 · 3 comments
Open

tig is slow to start in large repo #1290

pkitszel opened this issue Jul 10, 2023 · 3 comments

Comments

@pkitszel
Copy link

When started in large repo (linux kernel) tig takes 10s to show any content, even if started as tig -99, what limits output to just some recent history

@pkitszel
Copy link
Author

it works better for me now, not sure what are dependencies that fixed that (same machine, same repo, but more commits, same tig binary from June).

@nunojsa
Copy link

nunojsa commented Nov 15, 2023

I'm still having the same issue... I'm on fedora. It's incredibly slow hen compared to gitk for example. Would be nice to understand what could be the reason for this

@nunojsa
Copy link

nunojsa commented Nov 15, 2023

Oh, so this is improved things a lot...

git config --global core.commitGraph true
git config --global gc.writeCommitGraph true
git commit-graph write

AFAIK, the configs are already defaulted to true so I was missing the commit-graph write... tig --all still takes around 3s to load on the linux kernel (with multiple remotes) but I guess that's acceptable

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

2 participants