Using extensions.worktreeConfig fails to display branch info (VCS)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.8k
- Forks
- 134
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 1
Description
If a repo uses extensions.worktreeConfig in .git/config, gitstatus returns norepo instead of correct repo/branch info. Possibly due to bundling a libgit2 fork that predates support for this extension, so it refuses to open the repo and returns "norepo"
The issue occured using gitstatus with powerlevel10k & oh-my-zsh.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with extensions.worktreeConfig in .git/config, using gitstatus with powerlevel10k or oh-my-zsh. Inspect the bundled libgit2 fork's repository-opening path and compare its result with the expected repository and branch information; done means gitstatus no longer returns "norepo" for this configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, git
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100