cig icon indicating copy to clipboard operation
cig copied to clipboard

Show each type of change for a repo rather than just `M(x)`

Open stevenjack opened this issue 9 years ago • 0 comments

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.

stevenjack avatar Apr 20 '15 08:04 stevenjack