altsem / gitu

A TUI Git client inspired by Magit
MIT License
1.66k stars 87 forks source link

Improve support for tags #125

Closed frank-lenormand closed 2 months ago

frank-lenormand commented 3 months ago

Hi,

The log view shows tags only if they happen to point at a revision in view.

The revision view does not show that it is pointed to by a tag.

I didn’t see any obvious way of displaying all the tags in the repository either, maybe I missed it.

It’d be convenient to put more focus on tags:

golden-expiriensu commented 3 months ago

@altsem I think it's worth adding tags to show_refs right?

Also maybe segregate branches on local and remotes like in magit?: image

The issue for me is that in my company we name branches like "feature/JIRA-XXX-quite-long-description-of-the-feature" and pretty often two branches (local and remote) don't fit onto one line

Screenshot 2567-04-12 at 13 20 38

So having them in two different sections would make it more neat

altsem commented 3 months ago

I agree, there's a lot left to implement on the show_refs screen. It currently won't show branches that are only on the remote. Making it behave like Magit seems like a nice pattern to follow, unless there's some great improvement to be made!