Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Split-index repositories not supported #2027

stanio started this conversation in General
Discussion options

I had been trying to evaluate gitui unsuccessfully for a few years until now. Most notably starting gitui in my working repositories showed empty "Status [1]" and "Stashing [4]" tabs. Browsing the history and opening a revision/commit showed an empty Diff for individual files, also. I had been starting gitui with a --logging option and I had been noticing the following entry:

[ERROR] fetch_helper: git error:unsupported mandatory extension: 'link'; class=Index (10)

Searching this project issues and discussions, and more generally online, hasn't revealed a possible cause for me, so I've decided to put some traces here. I've finally identified the cause is my usage of the Git core.splitIndex config option. I have reverted the global setting of this option to its default for some time now and it hasn't been showing in git config --list --show-scope, for example, so it had not been obvious to me that it is still the case my repositories had been still having/using a split-index. In the end I've been able to update my repository indexes like:

git update-index --really-refresh --no-split-index

Now gitui appears fully functional on my repositories. Hope this could be a useful hint for anyone experiencing the same issue.

You must be logged in to vote

Replies: 1 comment

Comment options

[ERROR] fetch_helper: git error:unsupported mandatory extension: 'link'; class=Index (10)

Noted elsewhere: libgit2, the C library wrapped by Cargo's git2 dependency, doesn't yet support split-index extension at this moment.

https://github.com/libgit2/libgit2/blob/9b2577f8e0ea/src/libgit2/index.c#L2727-L2745

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /