In non main worktree git/info/exlude is ignored.
- Lenguaje dominante
- Rust
- Estrellas
- 22.5k
- Forks
- 773
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
I have huge repo (postgresql) and many worktrees for it (to not clone each time for each task).
Each worktree hash .cache/clangd folder (for clangd LSP).
Therefore `.cache` is added to .git/info/exclude .
It is honored by gitui when I run it in main worktree (which contains real .git folder), but it is ignored when gitui is running in other worktrees (where .git is just text file with path to real .git).
Guía de contribución
Línea de trabajo
Reproduce el comportamiento con gitui en un worktree principal y un worktree vinculado, usando un repositorio grande y `.cache` en `.git/info/exclude`. Empieza rastreando cómo gitui localiza el repositorio y lee las reglas de exclusión en cada worktree; el trabajo estará terminado cuando la exclusión se respete en ambas ubicaciones.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- git, rust
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100