I’m working on a package for displaying a more detailed view of Git status for a project. One thing I often do is run git status
just to give myself a general sense of what I’ve been doing. This package is initially a nicer version of that command. At a later point I hope to add other functionality.
One thing I haven’t managed to do is find a way to display which files are staged and which are not. Looking at the docs for git-utils there doesn’t appear to be any reference to staging.
I understand Git — and consequently libgit2 —can be a bit esoteric at times, so there is the possibility of being able to do it in a round-about way. Does anyone have any clues for me?