gitui-org / gitui-org/gitui

Relative worktrees not supported

Aperta
#2,920 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug
Lingua principale
Rust
Stelle
22.5k
Fork
773
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Description**

When starting `gitui` on a repository with relative worktrees the following error happens:

```
Error: invalid repo path: unsupported extension name extensions.relativeworktrees; class=Repository (6)
```

**Steps to reproduce**
```
mkdir test-repo && cd test-repo
git init
git commit --allow-empty -m "initial commit"
git worktree add --relative-paths -b dev-branch ../test-repo.worktrees/dev-branch
gitui
```

**Expected behavior**

`gitui` starts without error.

**Context:**

- `macOS 26.4.1`
- `gitui 0.28.1-nightly 2026-03-24`
- `git version 2.50.0`

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Reproduce the issue with the provided git init and git worktree commands, then start at gitui's repository-opening and worktree/path-handling entry points. Trace how the relative worktree configuration is read and run the existing test suite; done means gitui starts successfully on the reproduced repository without the unsupported extension error.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
git, rust
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Specificata chiaramente
Idoneità per principianti
65/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.