Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Magit section title should show how many items are in it #548

Closed
lewang opened this Issue Jan 30, 2013 · 2 comments

Comments

Projects
None yet
2 participants

lewang commented Jan 30, 2013

instead of

Stashes:

show

Stashes (12):

This is especially useful when the section is hidden.

Owner

tarsius commented Sep 17, 2013

I am considering doing this eventually. While I agree it would be nice to have this feature they way this would have to be implemented with the current code is to use a dynamic variable. I am currently trying to get ride of such dynamic variables as they make it hard see what is going on. That clean up might result in an insight that would make it possible to implement this differently.

@tarsius tarsius closed this in 08142e6 Oct 25, 2013

Owner

tarsius commented Oct 25, 2013

I have just implemented this, see 08142e6.

It is not enabled by default yet because I don't want to do that until it possible to only show the child count when the section is collapsed. This unfortunately is harder to do. Also there are a few headings that are differently and those don't show the count.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment