romkatv / romkatv/gitstatus

Using extensions.worktreeConfig fails to display branch info (VCS)

Open
#489 0 comments 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.