cig
cig copied to clipboard
Show each type of change for a repo rather than just `M(x)`
Problem
Currently cig
only shows a combination of all changes as a numeric value giving you a top level overview of if something has changed in that repo. You can want to just know if there are staged changes that you've forgotten to commit.
Solution
Show each different type based on the -s
style output by git status -s
. An example would look like:
- /path/to/my/repo (master) M(2) ??(3)
Would indicate you've got 3
untracked files and 2
modified ones.
Still not sure if this would make things more complicated though... may have to create a specific language to indicate what ??
means otherwise the user has to go and look at git status --help
to work out what all the indicators are.