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 slows down for large repositories #1354

Open
jimaxun opened this issue Sep 3, 2024 · 1 comment
Open

tig slows down for large repositories #1354

jimaxun opened this issue Sep 3, 2024 · 1 comment

Comments

@jimaxun
Copy link

jimaxun commented Sep 3, 2024

env:
ubuntu 2200
tig version:
tig --version
tig version 2.5.1
ncursesw version 6.2.20201114
readline version 8.1

I use this config ,but this issue not handle

yuechao.jia@SH-Ubuntu22009:/data/disk2/E05/linux-v6.1.49$ cat ~/.tigrc
source ~/.tigrc.large
yuechao.jia@SH-Ubuntu22009:/data/disk2/E05/linux-v6.1.49$ cat ~/.tigrc.large

Settings for speeding up Tig in large repositories

To use these settings copy the file to your HOME directory and include

it from your ~/.tigrc file:

$ cp contrib/large-repo.tigrc ~/.tigrc.large

$ echo "source ~/.tigrc.large" >> ~/.tigrc

Use Git's default (reverse chronological) order, never automatically

use topo-order for the commit graph

set commit-order = default

Don't show diffstat

set log-options =

Limit number of commits loaded by default to 1000

set main-options = -n 100

Don't show staged and unstaged changes in the main view

set show-changes = no

Optionally, use the old and faster but less acurate graph renderer

#set main-view-commit-title-graph = v1

@koutcher
Copy link
Collaborator

set log-options = will only work with tig-2.5.9 or later.

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