Add configurable upper limit to number of commits loaded in Log tab
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Rust
- Estrellas
- 22.5k
- Forks
- 774
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Is your feature request related to a problem? Please describe.
Opening the "Log [2]" tab in a repo with an extreme number of commits (3 million in my case) continues to load all commits well beyond anything I would reasonably need to navigate to. This also causes the interface to hang and run very slowly.
Describe the solution you'd like
I would like there to be a configurable upper limit to the number of commits gitui loads in the "Log" tab. A hard-coded upper limit somewhere between 10-100k would also suffice. This would allow me to only load the most recent commits and keep the UI very fluid. For my workflows, the code that was modified 100k+ commits ago is not something I'm likely to ever need to look at from the "Log [2]" tab.
Describe alternatives you've considered
As it stands now, I'd love to use gitui in this large repo, but the response time in this gets too slow to use it. Even tabbing through the log on accident causes the interface to hang. I end up using the terminal based git commands most of the time instead.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
No se nombran archivos ni pruebas. Empieza siguiendo cómo la pestaña Log carga los commits y cómo gitui expone la configuración; después, determina dónde debe ubicarse un límite configurable o codificado de forma fija. Se considera terminado cuando los repositorios grandes cargan únicamente los commits recientes permitidos sin que la interfaz se bloquee.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- git, rust
- Área
- cli, performance
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100